Print help with wo stack remove/purge

This commit is contained in:
VirtuBox
2019-11-05 20:25:44 +01:00
parent e0165a7312
commit ce39787564
2 changed files with 6 additions and 7 deletions

View File

@@ -564,8 +564,7 @@ class WOStackController(CementBaseController):
(not pargs.ufw) and (not pargs.ngxblocker) and
(not pargs.phpredisadmin) and (not pargs.sendmail) and
(not pargs.php73)):
pargs.web = True
pargs.admin = True
self.app.args.print_help()
if pargs.all:
pargs.web = True
@@ -828,8 +827,6 @@ class WOStackController(CementBaseController):
WOAptGet.auto_remove(self)
Log.valide(self, "Removing APT packages ")
Log.info(self, "Successfully removed packages")
@expose(help="Purge packages")
@@ -853,9 +850,7 @@ class WOStackController(CementBaseController):
(not pargs.ufw) and (not pargs.ngxblocker) and
(not pargs.phpredisadmin) and (not pargs.sendmail) and
(not pargs.php73)):
pargs.web = True
pargs.admin = True
pargs.security = True
self.app.args.print_help()
if pargs.all:
pargs.web = True