combiningShortOptions

command
v0.0.0-...-497d84b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2023 License: Unlicense Imports: 4 Imported by: 0

Documentation

Overview

Combining bool flags to condensed manner, e.g: cmd -s -o -m "message" will be: cmd -som "message" To run this example, open a terminal and execute the following lines: $ go install combineShortOptions.go $ combineShortOption short -som "message"; or, $ combineShortOption short --message "message" Note that the options `-som` are condesed into "one flag"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL