#706 closed defect (fixed)

Make --basedir a global option.

Reported by: nejucomo 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 davidsarah)

Most commands operate on a specific node basedir, so making --basedir a global option would add consistency.

As it is, some commands, such as create-alias do not support a basedir other than the default.

If users want the cli to be strict/pedantic, subcommands which do not rely on --basedir might issue a warning when it is set. Otherwise ignoring it seems safe.

(Update: we actually changed -d/--node-directory to be the global option.)

Change History (12)

comment:1 Changed at 2009-05-13T04:21:14Z by warner

  • Owner set to warner
  • Status changed from new to assigned

yeah, good idea

comment:2 Changed at 2010-01-03T02:47:48Z by davidsarah

  • Keywords usability added

comment:3 Changed at 2010-01-10T05:57:05Z by davidsarah

  • Milestone changed from undecided to 1.6.0
  • Owner changed from warner to davidsarah
  • Status changed from assigned to new

comment:4 Changed at 2010-01-26T16:55:21Z by zooko

  • Milestone changed from 1.6.0 to eventually

comment:5 Changed at 2010-02-01T19:43:03Z by davidsarah

  • Milestone changed from eventually to 1.7.0

comment:6 Changed at 2010-06-12T21:09:00Z by davidsarah

  • Milestone changed from 1.7.0 to 1.7.1

comment:7 Changed at 2010-06-19T07:28:18Z by davidsarah

  • Status changed from new to assigned

comment:8 Changed at 2010-07-17T04:22:58Z by davidsarah

  • Milestone changed from 1.7.1 to 1.8β

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

#715 has a patch for this ticket. The unified option is spelled -d or --node-directory.

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:00:28Z by davidsarah

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

comment:12 Changed at 2010-08-08T01:01:54Z by davidsarah

  • Description modified (diff)
Note: See TracTickets for help on using tickets.