Skip to content

Don't print complete help text on argparse error #667

@kmvanbrunt

Description

@kmvanbrunt

ACArgumentParser overrides argparse.ArgumentParser's error() function. One of its behaviors is to print all of the help text when there is a parsing error. Help text can be pretty long and has the tendency to scroll the actual error message off the screen.

I suggest we use the normal behavior of only printing the error and usage statement when a parsing error occurs.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions