From f5f76437343444f8090a2938e14e7a867401501d Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 25 Aug 2020 09:58:58 -0400 Subject: [PATCH] Change -c to a store_true --- confluent_client/bin/nodedeploy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_client/bin/nodedeploy b/confluent_client/bin/nodedeploy index a2803b7f..02bd516d 100755 --- a/confluent_client/bin/nodedeploy +++ b/confluent_client/bin/nodedeploy @@ -64,7 +64,7 @@ def clearpending(nr, profile, cli): def main(args): ap = argparse.ArgumentParser(description='Deploy OS to nodes') - ap.add_argument('-c', '--clear', help='Clear any pending deployment action') + ap.add_argument('-c', '--clear', help='Clear any pending deployment action', action='store_true') ap.add_argument('-n', '--network', help='Initiate deployment over PXE/HTTP', action='store_true') ap.add_argument('-p', '--prepare', help='Configure for deployment without setting boot device or rebooting', action='store_true') ap.add_argument('-m', '--maxnodes', help='Specifiy a maximum nodes to be deployed')