fix: nitpick and upload awxkit coverage to ci

This commit is contained in:
Adrià Sala
2026-03-02 12:11:36 +01:00
committed by Adrià Sala
parent 51ed59c506
commit 1a3085ff40
2 changed files with 8 additions and 9 deletions

View File

@@ -290,13 +290,6 @@ class CLI(object):
pass
parsed, extra = self.parser.parse_known_args(self.argv)
else:
# Try to parse to determine if help is requested for a specific action
try:
self.parser.parse_known_args()[0]
except SystemExit:
# This happens when required arguments are missing, which is expected behavior
# Let argparse handle it and show the appropriate help
raise
parsed, extra = self.parser.parse_known_args()
if extra and self.verbose: