cli: improve formatting of all commands

Also:

* do some light refactoring of create-client/node
* make it clear that these commands' --basedir options do the same as
  the global --node-directory option
* use "global-options" instead of "global-opts"
This commit is contained in:
Brian Warner
2015-05-26 11:31:06 -07:00
parent 01619844de
commit 8f41713fe9
8 changed files with 144 additions and 195 deletions

View File

@ -70,7 +70,7 @@ class Options(usage.Options):
return ("\nUsage: tahoe [global-options] <command> [command-options]\n"
+ self.getUsage())
synopsis = "\nUsage: tahoe [global-opts]" # used only for subcommands
synopsis = "\nUsage: tahoe [global-options]" # used only for subcommands
def getUsage(self, **kwargs):
t = usage.Options.getUsage(self, **kwargs)