From 49cf129c60c4e752ac250a9324553813430f485b Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 30 Mar 2023 23:08:43 +0300 Subject: [PATCH] Updated for error msg --- slpkg/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)