What steps will reproduce the problem?
1. define a flag, then call the script with -h or --help
2. output will always show flag with [no] option - which is correct but
confusing to my users...
What is the expected output? What do you see instead?
Would love to have the option to see (as an example):
USAGE: /usr/local/scripts/private_db [flags] project
flags:
-u,--update: update the private database with the current live database
(default: false)
-d,--delete: delete the private database (default: false)
-h,--help: show this help (default: false)
instead of
USAGE: /usr/local/scripts/private_db [flags] project
flags:
-u,--[no]update: update the private database with the current live
database (default: false)
-d,--[no]delete: delete the private database (default: false)
-h,--[no]help: show this help (default: false)
What version of the product are you using? On what operating system?
133 on Ubuntu 9.04
Please provide any additional information below.
Thanks!!! shflags is very useful!