jp (shell): fixed use of profile + added EOF handling:
- main profile (i.e. the one specified on command line when invocating "jp shell") was not used. It is now added to arguments if the value is not overriden on command line or in use - EOF (i.e. when user press C-d) is now understood as "quit" command
This commit is contained in:
parent
e33d68bcf1
commit
15ff6aedf4
1 changed files with 21 additions and 3 deletions
|
|
@ -89,7 +89,7 @@ def get_use_args(host, args, use, verbose=False, parser=None):
|
|||
value=escape(value)))
|
||||
else:
|
||||
if verbose:
|
||||
host.disp(_(u'arg {name}={value} set (in USE)').format(name=arg, value=escape(value)))
|
||||
host.disp(_(u'arg {name}={value} (in USE)').format(name=arg, value=escape(value)))
|
||||
if not action.option_strings:
|
||||
pos_args.append(value)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue