Overriding of option descriptions
Reported by commander_fan | March 26th, 2009 @ 04:09 AM | 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 March 26th, 2009 @ 05:12 AM
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 forfoo help
.Thanks again
-
TJ Holowaychuk April 7th, 2009 @ 05:57 AM
- 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.
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