X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=emuvim%2Fcli%2Fcompute.py;h=87247cb16886d36b1dd5c5c6c9ff590fe8172f20;hb=c5a536a1796846be97e5ba6ce9c20d73b6fd0052;hp=df40814e932d22d6389959670066b4d69c3ce0b4;hpb=7303abc38b4751466953c8db55815c63df6687ac;p=osm%2Fvim-emu.git diff --git a/emuvim/cli/compute.py b/emuvim/cli/compute.py old mode 100644 new mode 100755 index df40814..87247cb --- a/emuvim/cli/compute.py +++ b/emuvim/cli/compute.py @@ -80,7 +80,8 @@ class ZeroRpcClient(object): parser = argparse.ArgumentParser(description='son-emu compute') parser.add_argument( "command", - help="Action to be executed: start|stop|list") + choices=['start', 'stop', 'list', 'status'], + help="Action to be executed.") parser.add_argument( "--datacenter", "-d", dest="datacenter", help="Data center to in which the compute instance should be executed")