2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 19:10:10 +00:00

Update nodedeploy error message

We can't tell which argument was omitted,
so warn that both are needed.
This commit is contained in:
Jarrod Johnson 2021-01-13 16:43:41 -05:00
parent a738b761b4
commit 5160023cc4

View File

@ -79,7 +79,7 @@ def main(args):
sys.stderr.write('-n is a required argument currently to perform an install, optionally with -p\n')
return 1
if not args.profile and args.network:
sys.stderr.write('profile is a required argument to request a network deployment\n')
sys.stderr.write('Both noderange and a profile name are required arguments to request a network deployment\n')
return 1
if extra:
sys.stderr.write('Unrecognized arguments: ' + repr(extra) + '\n')