#1949 closed defect (fixed)

CLI: -u does not work as an alias for --node-url

Reported by: daira Owned by: Daira Hopwood <daira@…>
Priority: normal Milestone: 1.11.0
Component: code-frontend-cli Version: 1.9.2
Keywords: cli node-url Cc:
Launchpad Bug:

Description (last modified by daira)

$ 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.

Change History (5)

comment:1 Changed at 2013-04-22T15:25:03Z by daira

Confirmed this is not a regression due to #166.

comment:2 Changed at 2016-01-19T11:36:08Z by daira

  • Description modified (diff)
  • Milestone changed from soon to 1.10.3

See also #2137.

comment:3 Changed at 2016-02-02T17:26:42Z by warner

At the release meeting today, we think that the fix for #2137 (remove -u as an alias for --uri= in the tahoe ls command) is likely to fix this one too.

comment:4 Changed at 2016-02-02T18:50:14Z by Daira Hopwood <daira@…>

  • Owner set to Daira Hopwood <daira@…>
  • Resolution set to fixed
  • Status changed from new to closed

In 0d6fcf4/trunk:

Remove -u shortcut for 'tahoe ls --uri' which clashes with --node-url. fixes ticket:1949, ticket:2137

Signed-off-by: Daira Hopwood <daira@…>

comment:5 Changed at 2016-03-22T05:03:36Z by warner

  • Milestone changed from 1.10.3 to 1.11.0

Milestone renamed

Note: See TracTickets for help on using tickets.