Modify

Ticket #1033 (closed defect: fixed)

Opened 12 years ago

Last modified 11 years ago

bcfg2-admin --help should display supported commands

Reported by: https://www.google.com/accounts/o8/id?id=AItOawkPb0RtPyicSdU7pLcv1UrX-yCh-YjkOwU Owned by: desai
Priority: major Milestone: Bcfg2 1.2.1 Release (Bugfix)
Component: bcfg2-client Version: 1.0
Keywords: Cc:

Description

bcfg2-admin --help doesn't show supported commands (modes).

Usage: bcfg2-admin [options] MODE [args]

Options:
  -h, --help            show this help message and exit
  -C FILE, --configfile=FILE
                        Path to bcfg2.conf

Attachments

Change History

comment:1 Changed 12 years ago by solj

  • Milestone changed from Bcfg2 1.2.0 Release to Bcfg2 1.2.1 Release (Bugfix)

comment:2 Changed 12 years ago by rcuza

bcfg2-admin documentation page lists over 13 modes. Is the desired behaviour is to have bcfg2-admin -h return the same results as bcfg2-admin help? This seems reasonable and a way of shortening a person's learning curve by one command.

Proposed output:

Usage: bcfg2-admin [options] MODE [args]

Options:
  -h, --help            show this help message and exit
  -C FILE, --configfile=FILE
                        Path to bcfg2.conf

Modes:

   backup
   bundle
   client
   compare
   init
   minestruct
   perf
   pull
   query
   snapshots
   tidy
   viz
   xcmd

comment:3 Changed 11 years ago by https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc

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

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.