comparison sat_frontends/jp/cmd_message.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 569f4cf7183b
children be6d91572633
comparison
equal deleted inserted replaced
3410:55f9a38864af 3411:f30b238d9c45
58 "-S", 58 "-S",
59 "--subject", 59 "--subject",
60 help=_("subject of the message"), 60 help=_("subject of the message"),
61 ) 61 )
62 self.parser.add_argument( 62 self.parser.add_argument(
63 "-L", "--subject_lang", type=str, default="", help=_("language of subject") 63 "-L", "--subject-lang", type=str, default="", help=_("language of subject")
64 ) 64 )
65 self.parser.add_argument( 65 self.parser.add_argument(
66 "-t", 66 "-t",
67 "--type", 67 "--type",
68 choices=C.MESS_TYPE_STANDARD + (C.MESS_TYPE_AUTO,), 68 choices=C.MESS_TYPE_STANDARD + (C.MESS_TYPE_AUTO,),