diff --git a/vm-start.sh b/vm-start.sh index 37c0202..9d25cb3 100755 --- a/vm-start.sh +++ b/vm-start.sh @@ -1,16 +1,20 @@ #!/usr/bin/bash # -#RESULT_POSSIBLE=("init","start","start_backup","create","backup","restore","suppr") +#RESULT_POSSIBLE=("init","list","start","start_backup","create","backup","restore","suppr") # Constante d'éxecutions. -Version="0.6.2" -USAGE="vm-start [ NAME COMMAND [PARAMETER] ] [OPTION] +Version="0.7.0-developpement_day" +USAGE="vm-start [PARAMETTER] [ NAME COMMAND [OPTION] ] Script to manage virtual machine easily. NAME is the name of the virtual machine to use. +PARAMETTER available + -h, --help Print this help and exit + -v, --version Print the version of this program and quit + COMMAND available init Create the conf file in conf/NAME_var.sh start Start the virtual machine using the variabes in conf/NAME_var.sh @@ -23,10 +27,6 @@ COMMAND available COMMAND TODO suppr-all Suppr all data related to the vm even the conf file #TODO -PARAMETTER available - -h, --help Print this help and exit - -v, --version Print the version of this program and quit - OPTION available nproc= Def the number of proc of the vm memory= Def the qty of memory allocated to the vm