geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dillon (JIRA)" <>
Subject [jira] Created: (GSHELL-66) Auto-generate cli syntax/usage string when displaying --help
Date Wed, 14 Nov 2007 04:01:43 GMT
Auto-generate cli syntax/usage string when displaying --help

                 Key: GSHELL-66
             Project: GShell
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: Support - CLP
    Affects Versions: 1.0-alpha-1
            Reporter: Jason Dillon
            Priority: Minor
             Fix For: 1.0-alpha-1

When generating a commands --help, the syntax/usage should be auto-generated.

For example take the {{help}} command's {{--help}}:

jason@Bliss.local:/> help --help

  VAL            Command name
  -h (--help)    Display this help message

Ideally this should be rendered as:

jason@Bliss.local:/> help --help
syntax: help [options] [COMMAND]

  COMMAND    Command name

  -h (--help)       Display this help message

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message