#1723 new defect

tahoe backup --help (for example) implies that you have to use aliases

Reported by: zooko Owned by: zancas
Priority: normal Milestone: undecided
Component: code-frontend-cli Version: 1.9.1
Keywords: usability backup cli docs Cc:
Launchpad Bug:

Description

$ tahoe backup --help
Usage:  tahoe backup FROM ALIAS:TO

But the way I use tahoe backup does not involve aliases, e.g.:

tahoe backup ~/Maildir/URI:DIR2:censoredcensoredcensoredce:censoredcensoredcensoredcensoredcensoredcensoredcens/Maildir

Change History (2)

comment:1 follow-up: Changed at 2012-04-25T16:26:50Z by davidsarah

  • Summary changed from tahoe backup --help implies that you have to use aliases to tahoe backup --help (for example) implies that you have to use aliases
src/allmydata/scripts/cli.py:349:        return "Usage:  %s backup [options] FROM ALIAS:TO" % (self.command_name,)
src/allmydata/scripts/cli.py:407:        return "Usage:  %s webopen [options] [ALIAS:PATH]" % (self.command_name,)
src/allmydata/scripts/cli.py:424:        return "Usage:  %s manifest [options] [ALIAS:PATH]" % (self.command_name,)
src/allmydata/scripts/cli.py:437:        return "Usage:  %s stats [options] [ALIAS:PATH]" % (self.command_name,)
src/allmydata/scripts/cli.py:453:        return "Usage:  %s check [options] [ALIAS:PATH]" % (self.command_name,)
src/allmydata/scripts/cli.py:472:        return "Usage:  %s deep-check [options] [ALIAS:PATH]" % (self.command_name,)

See docs/frontends/CLI.rst#command-syntax-summary for the correct synopses.

comment:2 in reply to: ↑ 1 Changed at 2012-04-25T16:31:20Z by davidsarah

Replying to davidsarah:

See docs/frontends/CLI.rst#command-syntax-summary for the correct synopses.

Actually, some of the commands are missing from that summary and should be added -- but the ones that are there give the correct pattern for arguments.

Note: See TracTickets for help on using tickets.