Bug: global_option short and long missing in help
Reported by commander_fan | March 26th, 2009 @ 04:02 AM | in 4.0
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
Comments and changes to this ticket
-
commander_fan March 26th, 2009 @ 04:04 AM
- Tag changed from bug, options to 3.1.8, bug, options
-
TJ Holowaychuk March 26th, 2009 @ 05:02 AM
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
-
TJ Holowaychuk March 26th, 2009 @ 05:32 PM
- State changed from new to resolved
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.
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