Commit 5692fe6c authored by Arnaud Blanchard's avatar Arnaud Blanchard

Fix blaar.sh for cases where there is no option at all

parent 936bb2d5
......@@ -95,12 +95,12 @@ blaar_init_options(){
}
blaar_parse_args(){
#We say we need all default velue to remove them after when we read values
for ((i = 0; i < $blaar_options_nb; i++))
do
default_needed_indexes[$i]=$i
done
default_needed_indexes=''
#We say we need all default velue to remove them after when we read values
for ((i = 0; i < $blaar_options_nb; i++))
do
default_needed_indexes[$i]=$i
done
blaar_add_option help "h" "" "" "display this help"
optstring=""
for ((i = 0; i < $blaar_options_nb; i++))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment