[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-302-gd8e22da
Ville Skyttä
ville.skytta at iki.fi
Sun May 15 12:59:40 UTC 2011
The following commit has been merged in the master branch:
commit 1db66124e9eaa7fc636d69f399e8c9c4fcdf8428
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sun May 15 15:18:55 2011 +0300
rpcdebug: Use _parse_usage.
diff --git a/completions/rpcdebug b/completions/rpcdebug
index facc851..ef9eabf 100644
--- a/completions/rpcdebug
+++ b/completions/rpcdebug
@@ -40,7 +40,8 @@ _rpcdebug()
esac
if [[ "$cur" == -* ]]; then
- COMPREPLY=( $( compgen -W '-v -h -m -s -c' -- "$cur" ) )
+ COMPREPLY=( $( compgen -W '$( _parse_usage "$1" -h ) -s -c' \
+ -- "$cur" ) )
fi
} &&
complete -F _rpcdebug rpcdebug
--
bash-completion
More information about the Bash-completion-commits
mailing list