completions/cs.bash in cloudstack-cli-0.8.2 vs completions/cs.bash in cloudstack-cli-0.8.3
- old
+ new
@@ -32,10 +32,10 @@
# list options for the subcommand
elif [[ "$word" =~ -* ]] && [ "$COMP_CWORD" -gt 2 ]; then
local cp1=$(echo ${words[@]} | cut -d ' ' -f1-2)
local cp2=$(echo ${words[@]} | cut -d ' ' -f3)
local cp3=$($cp1 help $cp2 2>/dev/null)
- COMPREPLY=( $(compgen -W "$(echo $cp3 | awk 'NR>1{print $1}' RS=[ FS='\=') 2>/dev/null" -- "$word") )
+ COMPREPLY=( $(compgen -W "$(echo $cp3 | awk 'NR>1{print $1}' RS=[ FS='\=' 2>/dev/null)" -- "$word") )
fi
fi
}
complete -F _cs cs
\ No newline at end of file