1 2 3 4
name = "myprog" [args] debug = { short = 'd', action = "set-true", help = "turns on debugging mode" } config = { short = 'c', long = "config", action = "set-true", value-name = "CONFIG", help = "Optionally sets a config file to use" }