debug
This commit is contained in:
parent
9b3b7ae6c2
commit
b88948bb2c
1 changed files with 3 additions and 2 deletions
|
@ -66,9 +66,10 @@ class Main(app.App):
|
|||
return parser
|
||||
|
||||
def handle_args(self, parser, cfg, options, args):
|
||||
parser.error(args)
|
||||
try:
|
||||
(sshUser,) = args
|
||||
sshUser = args.pop(0)
|
||||
principals = ' '.join(args)
|
||||
parser.error(principals)
|
||||
except ValueError:
|
||||
parser.error('Missing argument sshUsers and/or principals.')
|
||||
|
||||
|
|
Loading…
Reference in a new issue