mirror of
https://github.com/xcat2/confluent.git
synced 2024-12-23 19:52:10 +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:
parent
deed8b4b9b
commit
bca676ed15
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user