jp (base): add --max option:
when MULTI_ITEMS is set, --max options is automatically added, except if NO_MAX flag is set.
This commit is contained in:
parent
b7e2de70d7
commit
d2dadbaf46
1 changed files with 5 additions and 3 deletions
|
|
@ -168,7 +168,6 @@ class Get(base.CommandBase):
|
|||
self.need_loop=True
|
||||
|
||||
def add_parser_options(self):
|
||||
self.parser.add_argument("-m", "--max", type=int, default=10, help=_(u"maximum number of items to get ({} to get all items)".format(C.NO_LIMIT)))
|
||||
# TODO: a key(s) argument to select keys to display
|
||||
self.parser.add_argument("-k", "--key", type=base.unicode_decoder, action='append', dest='keys',
|
||||
help=_(u"microblog data key(s) to display (default: depend of verbosity)"))
|
||||
|
|
|
|||
Loading…
Reference in a new issue