#19 new
commander_fan

Overriding of option descriptions

Reported by commander_fan | 2009-03-26 04:09:52 UTC | in 4.0

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  


Comments and changes to this ticket

  • TJ Holowaychuk

    TJ Holowaychuk 2009-03-26 05:12:07 UTC

    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

  • TJ Holowaychuk

    TJ Holowaychuk 2009-04-07 05:57:30 UTC

    • Tag changed from “3.1.8, bug, options” to “options”
    • Title changed from “Bug: global_option override help” to “Overriding of option descriptions”

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The complete solution for Ruby command-line executables

People watching this ticket

Tags

Pages