]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - src/allmydata/scripts/cli.py
CLI: fix synopsis for 'tahoe ls'. fixes #1839
[tahoe-lafs/tahoe-lafs.git] / src / allmydata / scripts / cli.py
index bb48ef4d0fe732a65c6b8e22fec9380b24034477..6758fe7d7b6e36f7c04339a13694987fcae77cfc 100644 (file)
@@ -106,9 +106,14 @@ class ListOptions(VDriveOptions):
     def parseArgs(self, where=""):
         self.where = argv_to_unicode(where)
 
+    def getSynopsis(self):
+        return "Usage:  %s ls [options] [PATH]" % (self.command_name,)
+
     longdesc = """
     List the contents of some portion of the grid.
 
+    If PATH is omitted, "tahoe:" is assumed.
+
     When the -l or --long option is used, each line is shown in the
     following format: