jp (pubsub/delete): make notification the default, --notify option is replaced by --no-notification

This commit is contained in:
Goffi 2021-07-29 22:51:01 +02:00
commit 02727e26d9

View file

@ -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):