comparison sat_frontends/jp/cmd_pubsub.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 7ebda4b54170
children 7b4ae3dbc041
comparison
equal deleted inserted replaced
3410:55f9a38864af 3411:f30b238d9c45
1528 action="store_true", 1528 action="store_true",
1529 help=_("do a pubsub admin request, needed to change publisher"), 1529 help=_("do a pubsub admin request, needed to change publisher"),
1530 ) 1530 )
1531 self.parser.add_argument( 1531 self.parser.add_argument(
1532 "-I", 1532 "-I",
1533 "--ignore_errors", 1533 "--ignore-errors",
1534 action="store_true", 1534 action="store_true",
1535 help=_( 1535 help=_(
1536 "if command return a non zero exit code, ignore the item and continue"), 1536 "if command return a non zero exit code, ignore the item and continue"),
1537 ) 1537 )
1538 self.parser.add_argument( 1538 self.parser.add_argument(