jp (info/disco): added --node argument
This commit is contained in:
parent
0a2a18ebaf
commit
3e795fde5c
1 changed files with 5 additions and 4 deletions
|
|
@ -286,7 +286,7 @@ class Jp(object):
|
|||
for parent_name in ('profile', 'profile_session'):
|
||||
parent = self.parents[parent_name] = argparse.ArgumentParser(add_help=False)
|
||||
parent.add_argument("-p", "--profile", action="store", type=str, default='@DEFAULT@', help=_("Use PROFILE profile key (default: %(default)s)"))
|
||||
parent.add_argument("--pwd", action="store", type=unicode, default='', metavar='PASSWORD', help=_("Password used to connect profile, if necessary"))
|
||||
parent.add_argument("--pwd", action="store", type=unicode_decoder, default='', metavar='PASSWORD', help=_("Password used to connect profile, if necessary"))
|
||||
|
||||
profile_parent, profile_session_parent = self.parents['profile'], self.parents['profile_session']
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue