# HG changeset patch # User Goffi # Date 1543657679 -3600 # Node ID bad70aa70c87161b40b70be322ed3a68b8203d52 # Parent 0bb811aaf11d39ad18815dc00807082834909ad1 jp (base): pubsub legacy --max option renamed to --max-item to prepare the use of --max for RSM. diff -r 0bb811aaf11d -r bad70aa70c87 sat_frontends/jp/base.py --- a/sat_frontends/jp/base.py Sat Dec 01 10:42:25 2018 +0100 +++ b/sat_frontends/jp/base.py Sat Dec 01 10:47:59 2018 +0100 @@ -373,7 +373,7 @@ # mutiple items pubsub_group.add_argument("-i", "--item", type=unicode_decoder, action='append', dest='items', default=[], help=_(u"items to retrieve (DEFAULT: all)")) if not flags.no_max: - pubsub_group.add_argument("-m", "--max", type=int, default=10, + pubsub_group.add_argument("-m", "--max-items", dest="max", type=int, default=10, help=_(u"maximum number of items to get ({no_limit} to get all items)".format(no_limit=C.NO_LIMIT))) if not flags.all_used: