Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Done
-
None
-
None
Description
GNU adds long options to these conventions. Long options consist of – followed by a name made of alphanumeric characters and dashes. Option names are typically one to three words long, with hyphens to separate words. Users can abbreviate the option names as long as the abbreviations are unique.
https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html
Proposal: Add lower case hyphen arg names for those that only has camel case long option:
@CommandLine.Option( names = {"-ffc", "--filterByFactor"},
to become
@CommandLine.Option( names = {"-ffc", "--filter-by-factor", "--filterByFactor"},
Attachments
Issue Links
- is related to
-
HDDS-7944 Add dash-separated-options where missing
- Resolved
- links to