mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-28 09:58:21 +01:00
Updated for print message
This commit is contained in:
parent
9b1938ec31
commit
3a6eb10bfa
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,8 @@ class Argparse:
|
||||||
self.flag_search = '--search'
|
self.flag_search = '--search'
|
||||||
|
|
||||||
if not self.configs.dialog and self.flag_search in self.args:
|
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.usage.help(1)
|
||||||
|
|
||||||
self.options = [self.flag_yes,
|
self.options = [self.flag_yes,
|
||||||
|
|
Loading…
Reference in a new issue