diff sat_frontends/jp/cmd_roster.py @ 3411:f30b238d9c45

jp: follow best practices and use a dash (`-`) instead of underscore (`_`) for long options.
author Goffi <goffi@goffi.org>
date Thu, 12 Nov 2020 14:53:16 +0100
parents 012e89fb2dd1
children ffe7a6d6018a
line wrap: on
line diff
--- a/sat_frontends/jp/cmd_roster.py	Thu Nov 12 14:53:16 2020 +0100
+++ b/sat_frontends/jp/cmd_roster.py	Thu Nov 12 14:53:16 2020 +0100
@@ -200,10 +200,10 @@
 
     def add_parser_options(self):
         self.parser.add_argument(
-            "--no_from", action="store_true",
+            "--no-from", action="store_true",
             help=_("also purge contacts with no 'from' subscription"))
         self.parser.add_argument(
-            "--no_to", action="store_true",
+            "--no-to", action="store_true",
             help=_("also purge contacts with no 'to' subscription"))
 
     async def start(self):