Updated for print message

This commit is contained in:
Dimitris Zlatanidis 2022-12-26 12:51:27 +02:00
parent 9b1938ec31
commit 3a6eb10bfa

View file

@ -50,6 +50,8 @@ class Argparse:
self.flag_search = '--search'
if not self.configs.dialog and self.flag_search in self.args:
print("Error: You should enable the dialog "
"in the '/etc/slpkg/' folder.\n")
self.usage.help(1)
self.options = [self.flag_yes,