[tahoe-lafs-trac-stream] [Tahoe-LAFS] #1949: CLI: -u does not work as an alias for --node-url

Tahoe-LAFS trac at tahoe-lafs.org
Tue Jan 19 11:36:08 UTC 2016


#1949: CLI: -u does not work as an alias for --node-url
-----------------------------------+--------------------------
     Reporter:  daira              |      Owner:
         Type:  defect             |     Status:  new
     Priority:  normal             |  Milestone:  1.10.3
    Component:  code-frontend-cli  |    Version:  1.9.2
   Resolution:                     |   Keywords:  cli node-url
Launchpad Bug:                     |
-----------------------------------+--------------------------
Changes (by daira):

 * milestone:  soon => 1.10.3


Old description:

> {{{
> $ bin/tahoe ls --help
> Usage:  tahoe ls [options] [PATH]
> Options:
> ...
>   -u, --node-url=     Specify the URL of the Tahoe gateway node, such as
>                       'http://127.0.0.1:3456'. This overrides the URL
> found in
>                       the --node-directory .
> }}}
> This works:
> {{{
> $ bin/tahoe ls --node-url=http://127.0.0.1:3456/ tahoe:
> }}}
> but this doesn't:
> {{{
> $ bin/tahoe ls -u http://127.0.0.1:3456/ tahoe:
> ...
> [...]/bin/tahoe:  Wrong number of arguments.
> }}}

New description:

 {{{
 $ bin/tahoe ls --help
 Usage:  tahoe ls [options] [PATH]
 Options:
 ...
   -u, --node-url=     Specify the URL of the Tahoe gateway node, such as
                       'http://127.0.0.1:3456'. This overrides the URL
 found in
                       the --node-directory .
 }}}
 This works:
 {{{
 $ bin/tahoe ls --node-url=http://127.0.0.1:3456/ tahoe:
 }}}
 but this doesn't:
 {{{
 $ bin/tahoe ls -u http://127.0.0.1:3456/ tahoe:
 ...
 [...]/bin/tahoe:  Wrong number of arguments.
 }}}

--

Comment:

 See also #2137.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1949#comment:2>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list