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-04-05 10:13:13 +02:00
2019-10-13 15:50:48 -07:00
2019-05-05 12:09:25 +02:00
2020-05-30 14:22:44 -07:00
2019-10-13 15:50:48 -07:00
2019-10-13 15:50:48 -07:00
2019-10-13 15:50:48 -07:00
2020-01-28 11:39:26 -08:00
2019-10-13 15:50:48 -07:00
2019-10-13 15:50:48 -07:00
2019-10-13 15:50:48 -07:00
2020-04-05 10:13:13 +02:00
2020-01-16 15:21:28 -08:00
2020-03-14 15:07:54 -07:00
2019-10-13 15:50:48 -07:00
2020-06-07 20:00:42 -07:00
2020-03-14 15:07:54 -07:00
2020-06-09 19:57:04 -07:00
2020-05-30 14:22:44 -07:00
2020-05-30 14:22:44 -07:00
2020-04-12 17:02:17 -07:00
2020-05-22 13:41:05 -07:00
2020-02-12 22:02:32 +01:00
2020-06-07 20:00:42 -07:00
2019-05-05 12:09:25 +02:00
2020-03-26 20:45:40 +01:00
2019-10-13 15:50:48 -07:00
2020-05-01 13:30:56 -07:00
2020-04-05 10:13:13 +02:00
2020-03-14 15:07:54 -07:00
2020-05-30 14:22:44 -07:00
2020-05-22 13:41:05 -07:00
2020-03-06 17:15:21 -08:00
2019-10-23 19:38:44 +02:00
2019-05-05 12:09:25 +02:00
2020-05-01 13:30:56 -07:00
2020-06-07 20:00:42 -07:00
2020-06-07 20:00:42 -07:00
2020-05-30 14:22:44 -07:00
2020-05-01 13:30:56 -07:00
2019-12-29 14:25:42 -08:00
2020-05-30 14:22:44 -07:00
2020-05-30 14:22:44 -07:00
2020-03-26 20:45:40 +01:00
2020-01-15 13:16:43 -08:00
2020-06-09 14:59:06 -07:00
2020-06-09 14:59:06 -07:00
2019-10-13 15:50:48 -07:00
2020-05-30 14:22:44 -07:00
2020-05-30 14:22:44 -07:00
2020-05-01 13:30:56 -07:00
2019-11-25 13:07:15 +01:00
2020-06-07 20:00:41 -07:00
2020-06-07 20:00:41 -07:00
2020-04-05 10:13:13 +02:00
2020-01-03 01:07:49 -06:00
2020-05-01 13:30:56 -07:00
2020-01-03 01:07:49 -06:00
2020-05-01 13:30:56 -07:00
2019-11-25 13:07:15 +01:00
2020-05-01 13:30:56 -07:00
2020-02-14 19:06:19 +01:00
2020-05-01 13:30:56 -07:00
2020-02-29 15:56:52 -08:00