Skip to documentation content
On this page
  1. Reference

Exit 2: Invalid command line

argparse rejected missing, unknown, or malformed command arguments.

Reference

FieldValueDescription
Exit code2
Failure IDbatch.failure.argument-parse
Error codesargparse.invalid
Standard errorargparse usage text followed by an argument error.

The process returns 2 for this category. Its registered error code match is argparse.invalid. Standard error uses argparse usage text followed by an argument error.; no successful final-summary record is emitted.