aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/bash-completion/completions/continuum-party5
1 files changed, 4 insertions, 1 deletions
diff --git a/share/bash-completion/completions/continuum-party b/share/bash-completion/completions/continuum-party
index 72c6a6f..570aeb1 100644
--- a/share/bash-completion/completions/continuum-party
+++ b/share/bash-completion/completions/continuum-party
@@ -21,7 +21,7 @@ _continuum_party_proposals()
_continuum_party_parties()
{
_continuum_party_asking status |
- awk '/passing a change:$/ { on = 1; next } on && /^ [^ ]/ { print $1; next } { on = 0 }'
+ awk '/^parties$/ { on = 1; next } on && /^[^ ]/ { on = 0 } on && /^ [^ ]/ { print $1 }'
}
# The places holding a value, and the paths on their way.
@@ -229,6 +229,9 @@ _continuum_party()
init)
[[ $cur == -* ]] && _continuum_party_words '--root'
;;
+ status)
+ [[ $cur == -* ]] && _continuum_party_words '--json'
+ ;;
next)
[[ $cur == -* ]] && _continuum_party_words '--revision'
;;