diff options
Diffstat (limited to 'share/bash-completion/completions/continuum-party')
| -rw-r--r-- | share/bash-completion/completions/continuum-party | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/share/bash-completion/completions/continuum-party b/share/bash-completion/completions/continuum-party index 7834536..72c6a6f 100644 --- a/share/bash-completion/completions/continuum-party +++ b/share/bash-completion/completions/continuum-party @@ -78,10 +78,10 @@ _continuum_party() prev=${words[cword - 1]} fi - local global_options='--node --token --key --record --federation --config --unset - --help --version' - local commands='init write keys nodes next propose vote again found root fork check - judge proposals show status values get twice help' + local global_options='--node --token --key --record --party --federation --config + --unset --help --version' + local commands='init write keys nodes next propose vote again restore found root fork + check judge proposals show status values get twice help' local intents='admit remove give take keys nodes checkpoint revision' # The command, the intent of `propose` and `fork`, and the arguments after them that @@ -93,7 +93,7 @@ _continuum_party() word=${words[i]} if [[ -z $command ]]; then case $word in - --node | --token | --key | --record | --federation | --config | --unset) + --node | --token | --key | --record | --party | --federation | --config | --unset) _continuum_party_client+=("$word" "${words[i + 1]}") ((i++)) ;; @@ -146,7 +146,7 @@ _continuum_party() [[ $command == keys ]] && _continuum_party_files return ;; - --node | --token | --unset | --nodes | --founder | --rule | --at) + --node | --token | --unset | --nodes | --founder | --rule | --at | --wait | --party) return ;; esac @@ -165,7 +165,7 @@ _continuum_party() propose | fork) local own if [[ $command == propose ]]; then - own='--yes --print' + own='--yes --print --wait' else own='--at --founder' fi @@ -203,7 +203,7 @@ _continuum_party() ;; vote) if [[ $cur == -* ]]; then - _continuum_party_words '--through' + _continuum_party_words '--through --wait' elif ((n == 0)); then _continuum_party_words "$(_continuum_party_proposals)" elif ((n == 1)); then |
