This commit is contained in:
Jakobus Schürz 2019-08-01 22:34:11 +02:00
parent 9b3b7ae6c2
commit b88948bb2c

View file

@ -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.')