Arg::visible_short_alias
visible_short_alias
Section titled “visible_short_alias ”Add an alias, which functions as a visible short flag.
Example
Section titled “Example”name = "prog"[args]test = { long = "test", visible-short-alias = 't', action = "set" }
name: progargs: test: long: test visible-short-alias: t action: set
{ "name": "prog", "args": { "test": { "long": "test", "visible-short-alias": "t", "action": "set" } }}
prog -t coffee
Output
Section titled “Output”claptrap_test='coffee'