Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Consider only listing long options in usage output and synopsis #152

@Brickster

Description

@Brickster

For stance, take git-state:

git state [view] [--show-all] [--show EXTENSION [EXTENSION ...]]
                 [--no-show EXTENSION [EXTENSION ...]]
                 [--show-empty] [--no-show-empty]
                 [--color [WHEN]] [--no-color]
                 [--pretty] [--format FORMAT]
                 [--clear] [--no-clear] [--no-page]
                 [--order SECTION [SECTION ...]]
                 [--options OPTION [OPTION ...]]
git state extensions create --command COMMAND [--name NAME]
                            [--options OPTIONS] [--no-show]
                            [--no-color] EXTENSION
git state extensions edit [--command COMMAND] [--name NAME]
                          [--options OPTIONS] [--no-show]
                          [--no-color] EXTENSION
git state extensions delete EXTENSION
git state extensions config EXTENSION
git state extensions list
git state extensions run EXTENSION
git state --help
git state --version

vs

git state [view] [--show-all] [(-s|--show) EXTENSION [EXTENSION ...]]
                 [(-S|--no-show) EXTENSION [EXTENSION ...]]
                 [(-e|--show-empty)] [(-E|--no-show-empty)]
                 [(-c|--color) [WHEN]] [(-C|--no-color)]
                 [(-p|--pretty)] [(-f|--format) FORMAT]
                 [--clear] [--no-clear] [--no-page]
                 [(-o|--order) SECTION [SECTION ...]]
                 [(-O|--options) OPTION [OPTION ...]]
git state extensions create (-c|--command) COMMAND [(-n|--name) NAME]
                            [(-o|--options) OPTIONS] [--no-show]
                            [--no-color] EXTENSION
git state extensions edit [(-c|--command) COMMAND] [(-n|--name) NAME]
                          [(-o|--options) OPTIONS] [--no-show]
                          [--no-color] EXTENSION
git state extensions delete EXTENSION
git state extensions config EXTENSION
git state extensions list
git state extensions run EXTENSION
git state (-h|--help)
git state (-v|--version)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions