From bca676ed1517098e7652fbf31a936df0e2efcbd2 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 18 Jan 2019 14:54:55 -0500 Subject: [PATCH] Have nodestorage assume show if no args Confluent commands with noderange generally assume 'get' if no option. Be compliant with this consistency. --- confluent_client/bin/nodestorage | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/confluent_client/bin/nodestorage b/confluent_client/bin/nodestorage index cce1db57..1766b249 100644 --- a/confluent_client/bin/nodestorage +++ b/confluent_client/bin/nodestorage @@ -184,6 +184,8 @@ def main(): 'delete. Default behavior is to use ' 'implementation provided default names.') (options, args) = argparser.parse_args() + if len(args) == 1: + args.append('show') try: noderange = args[0] operation = args[1] @@ -200,4 +202,4 @@ def main(): if __name__ == '__main__': - main() \ No newline at end of file + main()