Args module

Error

structextensionSource

What went wrong (or what to print for --help), with enough detail to build your own message. message is ready to show; suggestion is the closest known name when the user mistyped one.

Fields

message: string
unknown option --chek``
option: string
the option or argument the message is about, as written (--chek)
value: string
the offending value, when there is one
suggestion: string
the nearest known name (--check), when one is close
command: string
the command that failed, tool build
usage: string
tool build [OPTIONS] <PATH>
text: string
for .HELP and .VERSION: what to print

See also