diff options
Diffstat (limited to 'scripts/devtool')
-rwxr-xr-x | scripts/devtool | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/devtool b/scripts/devtool index 955495ea33..93ba58e7a9 100755 --- a/scripts/devtool +++ b/scripts/devtool | |||
@@ -280,6 +280,8 @@ def main(): | |||
280 | if str(err): | 280 | if str(err): |
281 | logger.error(str(err)) | 281 | logger.error(str(err)) |
282 | ret = 1 | 282 | ret = 1 |
283 | except argparse_oe.ArgumentUsageError as ae: | ||
284 | parser.error_subcommand(ae.message, ae.subcommand) | ||
283 | 285 | ||
284 | return ret | 286 | return ret |
285 | 287 | ||