Mercurial > libervia-backend
diff frontends/src/jp/constants.py @ 2539:dcc77f23e370
jp (base): add --max option:
when MULTI_ITEMS is set, --max options is automatically added, except if NO_MAX flag is set.
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 29 Mar 2018 08:59:38 +0200 |
parents | 772447ec070f |
children | 1d754bc14381 |
line wrap: on
line diff
--- a/frontends/src/jp/constants.py Thu Mar 29 08:57:27 2018 +0200 +++ b/frontends/src/jp/constants.py Thu Mar 29 08:59:38 2018 +0200 @@ -41,6 +41,7 @@ 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