Changes between Initial Version and Version 1 of Ticket #2233, comment 1


Ignore:
Timestamp:
2014-04-24T17:20:30Z (11 years ago)
Author:
daira
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2233, comment 1

    initial v1  
    44Usage:  tahoe [global-opts] start [options] [NODEDIR]
    55Global options:
    6   -q, --quiet             Operate silently.
    7   -V, --version           Display version numbers.
    8       --version-and-path  Display version numbers and paths to their locations.
    9   -d, --node-directory=   Specify an empty directory to be used for the new Tahoe node.
    10                           [default for most commands: '/home/davidsarah/.tahoe']
    11 Options:
    12   -p, --profile   Run under the Python profiler, putting results in
    13                   'profiling_results.prof'.
    14       --syslog    Tell the node to log to syslog, not a file.
    15   -C, --basedir=  Same as --node-directory.
    16       --version   
    17       --help      Display this help and exit.
    18 }}}
    19 
    20 Notice that the desired description of `-d` for `create-*` subcommands is not the one that is currently printed for `tahoe --help`:
    21 {{{
    22 $ bin/tahoe --help
    23 
    24 Usage: tahoe [global-opts] <command> [command-options]
    25 Options:
    266  -q, --quiet             Operate silently.
    277  -V, --version           Display version numbers.
     
    3414                          alias name to root dirnode URI. [default for most
    3515                          commands: '/home/davidsarah/.tahoe']
    36       --help              Display this help and exit.
     16Options:
     17  -p, --profile   Run under the Python profiler, putting results in
     18                  'profiling_results.prof'.
     19      --syslog    Tell the node to log to syslog, not a file.
     20  -C, --basedir=  Same as --node-directory.
     21      --version   
     22      --help      Display this help and exit.
    3723}}}
     24
     25Notice that the desired description of `-d` for `create-*` subcommands should be different:
     26{{{
     27  -d, --node-directory=   Specify an empty directory to be used for the new Tahoe node.
     28}}}
     29
     30Also note that this has a default in the case of `tahoe create-node` and `tahoe create-client`, but not for `tahoe create-key-generator` or `tahoe create-stats-gatherer`.