#772 closed enhancement (fixed)

cli: to specify basedir sometimes requires "-C" option, other times just an argument

Reported by: robk Owned by: davidsarah
Priority: minor Milestone: 1.8β
Component: code-frontend-cli Version: 1.4.1
Keywords: usability Cc:
Launchpad Bug:

Description (last modified by zooko)

while you can say "tahoe create-introducer introducer"

it is an error to say "tahoe create-key-generator key-generator" the latter requires the -C flag. a little more consistency would be nice.

Change History (11)

comment:1 Changed at 2009-07-25T14:17:17Z by zooko

  • Component changed from unknown to code-frontend-cli
  • Description modified (diff)
  • Summary changed from tahoe create-key-generator requires -C to cli: to specify basedir sometimes requires "-C" option, other times just an argument

This was previously mentioned in #188 (--basedir vs. --node-directory), but it is better to have a separate ticket for this, so this is now the official ticket for this issue.

comment:2 Changed at 2010-01-12T05:00:51Z by davidsarah

  • Keywords usability added
  • Milestone changed from undecided to 1.6.0
  • Owner changed from robk to davidsarah

I will fix this together with #188.

comment:3 Changed at 2010-01-12T05:01:11Z by davidsarah

  • Status changed from new to assigned

comment:4 Changed at 2010-01-26T15:38:17Z by zooko

  • Milestone changed from 1.6.0 to eventually

comment:5 Changed at 2010-02-01T19:42:31Z by davidsarah

  • Milestone changed from eventually to 1.7.0

comment:6 Changed at 2010-03-09T06:50:50Z by JeremyVisser

I was a little confused by the fact that '-C' is sometimes optional. For example, 'tahoe start .' and 'tahoe start -C .' are synonymous.

Best to have complete consistency, IMO.

comment:7 Changed at 2010-06-12T21:09:17Z by davidsarah

  • Milestone changed from 1.7.0 to 1.7.1

comment:8 Changed at 2010-07-17T04:23:33Z by davidsarah

  • Milestone changed from 1.7.1 to 1.8β

comment:9 Changed at 2010-07-22T02:10:28Z by davidsarah

With the patch attached to #715, "tahoe create-key-generator keygeneratordir" now works.

comment:10 Changed at 2010-08-02T04:49:34Z by david-sarah@…

In [4614/ticket798]:

Basedir/node directory option improvements for ticket798 branch. addresses #188, #706, #715, #772, #890

comment:11 Changed at 2010-08-08T01:05:30Z by davidsarah

  • Resolution set to fixed
  • Status changed from assigned to closed

Applied to trunk in f952532f0822fbe7 54a9ba8232e2b8e9 a7c474a09893b9aa. NEWS changes were in 0ae556c00ac79d4f 2b15f35b867cebbd.

This ended up also allowing tahoe create-key-generator --multiple ..., not because it's especially useful but because it was implied by using the same code for all create-* commands.

Note: See TracTickets for help on using tickets.