diff --git a/slpkg/main.py b/slpkg/main.py index 02daf377..126f8753 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -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)