From 36f2e012756b65a4b65a95770048a99cee0f9b3c Mon Sep 17 00:00:00 2001
From: kevan <kevan@isnotajoke.com>
Date: Sun, 19 Jul 2009 20:45:03 -0700
Subject: [PATCH] Update tahoe mv help text.

---
 src/allmydata/scripts/cli.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/allmydata/scripts/cli.py b/src/allmydata/scripts/cli.py
index 69d96c8d..838958fa 100644
--- a/src/allmydata/scripts/cli.py
+++ b/src/allmydata/scripts/cli.py
@@ -219,6 +219,13 @@ class MvOptions(VDriveOptions):
 
     def getSynopsis(self):
         return "%s mv FROM TO" % (os.path.basename(sys.argv[0]),)
+    longdesc = """
+    Use 'tahoe mv' to move files that are already on the grid elsewhere on the grid, e.g., 'tahoe mv alias:some_file alias:new_file'.
+
+    If moving a remote file into a remote directory, you'll need to append a '/' to the name of the remote directory, e.g., 'tahoe mv tahoe:file1 tahoe:dir/', not 'tahoe mv tahoe:file1 tahoe:dir'.
+
+    Note that it is not possible to use this command to move local files to the grid -- use 'tahoe cp' for that.
+    """
 
 class LnOptions(VDriveOptions):
     def parseArgs(self, frompath, topath):
-- 
2.45.2