Skip to content

Arg::long

since 0.1.0

Sets the long version of the argument without the preceding --.

name = "prog"
[args]
cfg = { long = "config", action = "set" }
Terminal window
prog --config file.toml
Terminal window
claptrap_cfg='file.toml'