2023-04-04 04:17:45 +02:00
|
|
|
[Error]
|
|
|
|
description = "prefix of error messages"
|
|
|
|
other = "Error"
|
|
|
|
|
2023-04-04 05:33:08 +02:00
|
|
|
[ExactArgsValidationError]
|
|
|
|
description = "error shown when arg count is not exact (expected amount, actual amount)"
|
|
|
|
one = "accepts %d arg, received %d"
|
|
|
|
other = "accepts %d args, received %d"
|
|
|
|
|
2023-04-04 04:17:45 +02:00
|
|
|
[ExclusiveFlagsValidationError]
|
|
|
|
description = "error shown when multiple exclusive flags are provided (group flags, offending flags)"
|
|
|
|
other = "if any flags in the group [%v] are set none of the others can be; %v were all set"
|
2023-04-04 04:46:33 +02:00
|
|
|
|
2023-04-04 05:33:08 +02:00
|
|
|
[LegacyArgsValidationError]
|
|
|
|
description = "error shown when args are not understood (subcmd, cmd, suggestion)"
|
|
|
|
other = "unknown command %q for %q%s"
|
|
|
|
|
|
|
|
[MaximumNArgsValidationError]
|
|
|
|
description = "error shown when arg count is too low (expected amount, actual amount)"
|
|
|
|
one = "accepts at most %d arg, received %d"
|
|
|
|
other = "accepts at most %d args, received %d"
|
|
|
|
|
|
|
|
[MinimumNArgsValidationError]
|
|
|
|
description = "error shown when arg count is too low (expected amount, actual amount)"
|
|
|
|
one = "requires at least %d arg, only received %d"
|
|
|
|
other = "requires at least %d args, only received %d"
|
|
|
|
|
|
|
|
[NoArgsValidationError]
|
|
|
|
description = "error shown when args are present but should not (subcmd, cmd)"
|
|
|
|
other = "unknown command %q for %q"
|
|
|
|
|
|
|
|
[OnlyValidArgsValidationError]
|
|
|
|
description = "error shown when arg is invalid (arg, cmd, suggestion)"
|
|
|
|
other = "invalid argument %q for %q%s"
|
|
|
|
|
|
|
|
[RangeArgsValidationError]
|
|
|
|
description = "error shown when arg count is not in range (expected min, expected max, actual amount)"
|
|
|
|
one = "accepts between %d and %d arg, received %d"
|
|
|
|
other = "accepts between %d and %d args, received %d"
|
|
|
|
|
2023-04-04 04:46:33 +02:00
|
|
|
[RunHelpTip]
|
|
|
|
description = "tip shown when a command fails (command path)"
|
|
|
|
other = "Run '%v --help' for usage."
|