2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-12-24 12:11:52 +00:00

Have nodestorage assume show if no args

Confluent commands with noderange generally
assume 'get' if no option.  Be compliant with
this consistency.
This commit is contained in:
Jarrod Johnson 2019-01-18 14:54:55 -05:00
parent deed8b4b9b
commit bca676ed15

View File

@ -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()
main()