jp (pubsub/cache/purge): fix conflict with subtype short option

This commit is contained in:
Goffi 2021-08-02 21:52:17 +02:00
commit 1d6cead380

View file

@ -890,7 +890,7 @@ class CachePurge(base.CommandBase):
help="purge items flagged with TYPE. May be used several times."
)
self.parser.add_argument(
"-s", "--subtype", action="append", dest="subtypes",
"-S", "--subtype", action="append", dest="subtypes",
help="purge items flagged with SUBTYPE. May be used several times."
)
self.parser.add_argument(