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
|
|
@ -41,6 +41,7 @@ class Const(constants.Const):
|
|||
NODE = u'node' # node required
|
||||
SINGLE_ITEM = u'single_item' # only one item is allowed
|
||||
MULTI_ITEMS = u'multi_items' # multiple items are allowed
|
||||
NO_MAX = u'no_max' # don't add --max option for multi items
|
||||
|
||||
# ANSI
|
||||
A_HEADER = A.BOLD + A.FG_YELLOW
|
||||
|
|
|
|||
Loading…
Reference in a new issue