From 02727e26d9b872b76324043fc6f3d412e7b84111 Mon Sep 17 00:00:00 2001 From: Goffi Date: Thu, 29 Jul 2021 22:51:01 +0200 Subject: [PATCH] jp (pubsub/delete): make notification the default, `--notify` option is replaced by `--no-notification` --- sat_frontends/jp/cmd_pubsub.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sat_frontends/jp/cmd_pubsub.py b/sat_frontends/jp/cmd_pubsub.py index a3a3caa9..fbcd2117 100644 --- a/sat_frontends/jp/cmd_pubsub.py +++ b/sat_frontends/jp/cmd_pubsub.py @@ -883,7 +883,8 @@ class Delete(base.CommandBase): "-f", "--force", action="store_true", help=_("delete without confirmation") ) self.parser.add_argument( - "-N", "--notify", action="store_true", help=_("notify deletion") + "--no-notification", dest="notify", action="store_false", + help=_("do not send notification (not recommended)") ) async def start(self):