2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +00:00

Add warning if someone tries to -n without a profile name.

This commit is contained in:
Jarrod Johnson 2020-08-26 16:10:59 -04:00
parent 24a3cbc133
commit aaff8d281c

View File

@ -78,6 +78,9 @@ def main(args):
if args.profile and not args.network:
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')
return 1
if extra:
sys.stderr.write('Unrecognized arguments: ' + repr(extra) + '\n')
c = client.Command()