From 93b23f1cc84236b52552686fe2bf459187bda91d Mon Sep 17 00:00:00 2001 From: Goffi Date: Sat, 1 Dec 2018 10:47:59 +0100 Subject: [PATCH] jp (base): pubsub legacy --max option renamed to --max-item to prepare the use of --max for RSM. --- sat_frontends/jp/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sat_frontends/jp/base.py b/sat_frontends/jp/base.py index bd2773e2..f0c0c282 100644 --- a/sat_frontends/jp/base.py +++ b/sat_frontends/jp/base.py @@ -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: