Duplicate option --usage (already --help)
Bug #673364 reported by
Jari Aalto
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Service Plugin |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
There is confusing option --usage whose description is different from --help. Still, they both return same information.
$ bzr start-service --usage
$ bzr start-service --help
Options:
--usage Show usage message and options.
-v, --verbose Display more information.
-q, --quiet Only display errors and warnings.
-h, --help Show help message.
Please consider removing non-standardly named --usage option.
To post a comment you must log in.
--help and --usage are automatically added to all bzr commands, this isn't something specific to 'bzr-service'
They are similar, but not identical (though they may be identical for this specific command).
Specifically:
--usage
Print out the option arguments
--help
Print out the option arguments and the documentation for how everything is used.
As an example
$ bzr st --usage | wc -l
43
$ bzr st --help | wc -l
92