Skip to documentation content
On this page
  1. Reference contract
  2. Authoritative source

Exit 2: Invalid command line

argparse rejected missing, unknown, or malformed command arguments.

Reference contract

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.

Authoritative source

Catalog
telion.batch.failure
Identity
batch.failure.argument-parse
Path
src/telion_backend/v2/batch_contract.py
Symbol
BATCH_FAILURES