Ticket #1359: tahoe-cp-help.patch

File tahoe-cp-help.patch, 790 bytes (added by killyourtv, at 2011-02-04T15:01:38Z)

fix placement of [options] in tahoe cp --help

  • src/allmydata/scripts/cli.py

    Subject: [PATCH] Correct tahoe cp --help's text
    
    ---
     src/allmydata/scripts/cli.py |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/src/allmydata/scripts/cli.py b/src/allmydata/scripts/cli.py
    index 1713002..2f6a0d7 100644
    a b class CpOptions(VDriveOptions): 
    211211        self.sources = map(argv_to_unicode, args[:-1])
    212212        self.destination = argv_to_unicode(args[-1])
    213213    def getSynopsis(self):
    214         return "Usage: tahoe [options] cp FROM.. TO"
     214        return "Usage: tahoe cp [options] FROM.. TO"
    215215    longdesc = """
    216216    Use 'tahoe cp' to copy files between a local filesystem and a Tahoe grid.
    217217    Any FROM/TO arguments that begin with an alias indicate Tahoe-side