From 2691722f48b054b8cdcb8bed7ef33e9623bf95a2 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 21 Feb 2019 15:02:53 -0500 Subject: [PATCH] Update usage example in nodeconfig Provide a customized usage string to more accurately show the structure of a nodeconfig command. --- confluent_client/bin/nodeconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_client/bin/nodeconfig b/confluent_client/bin/nodeconfig index 4939f056..104b7567 100755 --- a/confluent_client/bin/nodeconfig +++ b/confluent_client/bin/nodeconfig @@ -43,7 +43,7 @@ def bailout(msg, code=1): sys.exit(code) -argparser = optparse.OptionParser() +argparser = optparse.OptionParser(usage="Usage: %prog [options] noderange [option|option=value]") argparser.add_option('-c', '--comparedefault', dest='comparedefault', action='store_true', default=False, help='Compare given settings to default or list settings '