Fabian Homborg a121833e88 argparse: Only print stacktrace when it's an error in argparse usage
A broken/missing optspec or `--` is a bug in the script using
argparse, an unknown option or invalid argument is a bug in using that script.

So in the former case print a stacktrace, because the person writing
the `argparse` call is at fault, in the latter don't.

Fixes #6703.
2020-06-17 20:05:48 +02:00
..
2020-06-17 15:55:31 +02:00
2017-07-25 12:44:26 -07:00
2020-06-14 19:30:03 +02:00
2020-06-14 19:30:03 +02:00