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.

Bug: global_option short and long missing in help

#18

Release: 3.1.8

When the global_option is used only the first format of the option is shown in the help. (ie. it doesn't show both the short and the long formats of the option.)


global_option '-c', '--config FILE', 'Load config data for your commands to use'

GLOBAL OPTIONS:

-c                   Load config data for your commands to use
--help               Display help documentation


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

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

Activity

  1. commander_fan
    commander_fan
    • Tag changed from bug, options to 3.1.8, bug, options

    March 26th, 2009 @ 04:04 AM

  2. TJ Holowaychuk
    TJ Holowaychuk

    Ah yes, I am aware of this and forgot to create a ticket thank you! I will abstract the same functionality that Commander::Command uses for this

    March 26th, 2009 @ 05:02 AM

  3. TJ Holowaychuk
    TJ Holowaychuk
    • State changed from new to resolved

    March 26th, 2009 @ 05:32 PM

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.