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

Open
opened 2012-04-25 07:18:59 +00:00 by zooko · 2 comments
$ 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
``` $ 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 ```
zooko added the
code-frontend-cli
normal
defect
1.9.1
labels 2012-04-25 07:18:59 +00:00
zooko added this to the undecided milestone 2012-04-25 07:18:59 +00:00
zancas was assigned by zooko 2012-04-25 07:18:59 +00:00
davidsarah commented 2012-04-25 16:26:50 +00:00
Owner
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 source:docs/frontends/CLI.rst#command-syntax-summary for the correct synopses.

``` 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 source:docs/frontends/CLI.rst#command-syntax-summary for the correct synopses.
tahoe-lafs changed title from tahoe backup --help implies that you have to use aliases to tahoe backup --help (for example) implies that you have to use aliases 2012-04-25 16:26:50 +00:00
davidsarah commented 2012-04-25 16:31:20 +00:00
Owner

Replying to davidsarah:

See source: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.

Replying to [davidsarah](/tahoe-lafs/trac-2024-07-25/issues/1723#issuecomment-88296): > See source: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.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#1723
No description provided.