Mercurial > libervia-backend
diff sat_frontends/jp/cmd_pubsub.py @ 3601:b46e9791168f
jp (pubsub/delete): make notification the default, `--notify` option is replaced by `--no-notification`
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 29 Jul 2021 22:51:01 +0200 |
parents | 1709f0a78f50 |
children | 7241ce3b79dd |
line wrap: on
line diff
--- a/sat_frontends/jp/cmd_pubsub.py Thu Jul 29 22:51:01 2021 +0200 +++ b/sat_frontends/jp/cmd_pubsub.py Thu Jul 29 22:51:01 2021 +0200 @@ -883,7 +883,8 @@ "-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):