Arg::short
short
Section titled “short ”Sets the short version of the argument without the preceding -
.
Example
Section titled “Example”name = "prog"[args]config = { short = 'c', action = "set" }
name: progargs: config: short: c action: set
{ "name": "prog", "args": { "config": { "short": "c", "action": "set" } }}
prog -c file.toml
Output
Section titled “Output”claptrap_config='file.toml'