Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Overriding of option descriptions

#19

Release: 3.1.8

The global default option appearing in the help message can't be overriden.


global_option '--help', "Tell you stuff you don't know"

GLOBAL OPTIONS:

--help               Tell you stuff you don't know
--help               Display help documentation  
--version            Display version information  


Reported by commander_fan · March 26th, 2009 @ 04:09 AM

State: new
Milestone: 4.0
Assigned to: TJ Holowaychuk TJ Holowaychuk

Activity

  1. TJ Holowaychuk
    TJ Holowaychuk

    Hmm I didnt think of that. I will take a look and see if it wont be much trouble to allow alteration of global messages while retaining their default functionality, as foo --help is really just an alias for foo help.

    Thanks again

    March 26th, 2009 @ 05:12 AM

  2. TJ Holowaychuk
    TJ Holowaychuk
    • Tag changed from 3.1.8, bug, options to options
    • Title changed from Bug: global_option override help to Overriding of option descriptions

    April 7th, 2009 @ 05:57 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.