clarify --step prompt

now shows full words and indicates default
fixes #7433
pull/14863/head
Brian Coca 9 years ago
parent 3d6ec52e83
commit 49bb4803b5

@ -623,10 +623,10 @@ class StrategyBase:
def _take_step(self, task, host=None):
ret=False
msg=u'Perform task: %s ' % task
if host:
msg = u'Perform task: %s on %s (y/n/c): ' % (task, host)
else:
msg = u'Perform task: %s (y/n/c): ' % task
msg += u'on %s ' % host
msg += u'(N)o/(y)es/(c)ontinue: '
resp = display.prompt(msg)
if resp.lower() in ['y','yes']:

Loading…
Cancel
Save