jp (base): pubsub legacy --max option renamed to --max-item to prepare the use of --max for RSM.
This commit is contained in:
parent
32af40e098
commit
93b23f1cc8
1 changed files with 1 additions and 1 deletions
|
|
@ -373,7 +373,7 @@ class Jp(object):
|
|||
# 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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue