diff options
Diffstat (limited to 'tools/cinder.bash_completion')
| -rw-r--r-- | tools/cinder.bash_completion | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cinder.bash_completion b/tools/cinder.bash_completion index 4dbc779..1d98108 100644 --- a/tools/cinder.bash_completion +++ b/tools/cinder.bash_completion @@ -10,7 +10,7 @@ _cinder() prev="${COMP_WORDS[COMP_CWORD-1]}" if [ "x$_cinder_opts" == "x" ] ; then - cbc="`cinder bash-completion | sed -e "s/ *-h */ /" -e "s/ *-i */ /"`" + cbc="`cinder bash-completion 2>/dev/null | sed -e "s/ *-h */ /" -e "s/ *-i */ /"`" _cinder_opts="`echo "$cbc" | sed -e "s/--[a-z0-9_-]*//g" -e "s/ */ /g"`" _cinder_flags="`echo " $cbc" | sed -e "s/ [^-][^-][a-z0-9_-]*//g" -e "s/ */ /g"`" fi |
