mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
261: More work on demo using Option.__call__() for interactive input
This commit is contained in:
@@ -164,7 +164,7 @@ class CLI(object):
|
||||
print '>>> %s: %s' % (option.name, error)
|
||||
raw = raw_input(prompt)
|
||||
try:
|
||||
value = option(raw)
|
||||
value = option(raw, **kw)
|
||||
if value is not None:
|
||||
kw[option.name] = value
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user