comparison sat_frontends/jp/cmd_pubsub.py @ 3618:7f503b20597e

jp (pubsub/cache/purge): fix conflict with `subtype` short option
author Goffi <goffi@goffi.org>
date Mon, 02 Aug 2021 21:52:17 +0200
parents 7241ce3b79dd
children 0eacda79b5d1
comparison
equal deleted inserted replaced
3617:766729ac4146 3618:7f503b20597e
888 self.parser.add_argument( 888 self.parser.add_argument(
889 "-t", "--type", action="append", dest="types", 889 "-t", "--type", action="append", dest="types",
890 help="purge items flagged with TYPE. May be used several times." 890 help="purge items flagged with TYPE. May be used several times."
891 ) 891 )
892 self.parser.add_argument( 892 self.parser.add_argument(
893 "-s", "--subtype", action="append", dest="subtypes", 893 "-S", "--subtype", action="append", dest="subtypes",
894 help="purge items flagged with SUBTYPE. May be used several times." 894 help="purge items flagged with SUBTYPE. May be used several times."
895 ) 895 )
896 self.parser.add_argument( 896 self.parser.add_argument(
897 "-f", "--force", action="store_true", 897 "-f", "--force", action="store_true",
898 help=_("purge items without confirmation") 898 help=_("purge items without confirmation")