diff --git a/completions/rpcdebug b/completions/rpcdebug index facc8517..ef9eabf1 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