mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-20 10:26:44 +01:00
Updated for error msg
This commit is contained in:
parent
1b4b388442
commit
49cf129c60
1 changed files with 1 additions and 1 deletions
|
@ -733,7 +733,7 @@ class Argparse(Configs):
|
|||
flags = self.commands[self.args[1]]
|
||||
Help(self.args[1], flags).view()
|
||||
except KeyError:
|
||||
self.usage.help_short(1)
|
||||
self.usage.help_minimal(f"{self.prog_name}: invalid argument '{''.join(self.args[1])}'")
|
||||
else:
|
||||
self.usage.help_short(1)
|
||||
|
||||
|
|
Loading…
Reference in a new issue