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
zooko commented 2012-04-25 07:18:59 +00:00
Owner
$ 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 ```
tahoe-lafs added the
code-frontend-cli
normal
defect
1.9.1
labels 2012-04-25 07:18:59 +00:00
tahoe-lafs added this to the undecided milestone 2012-04-25 07:18:59 +00:00
davidsarah commented 2012-04-25 16:26:50 +00:00
Author
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
Author
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-129812): > 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 project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

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