From 6e5afca5a795f3bf5da43f20c81fb70216ae12d8 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 20 Nov 2026 01:31:09 +0000 Subject: continuum-party: found by a name, propose name, the name in status `found` takes the federation's name (`--name`, required), and founds at revision 2, the first that gives one, unless `--revision` names a later one; one naming an earlier is an error. `propose name NAME` (and `fork name`) names the federation anew, the next version following revision 2 too where the current one doesn't, which the preview says. `status` says the name its current version gives beside the store's ID. --- share/bash-completion/completions/continuum-party | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'share/bash-completion/completions') diff --git a/share/bash-completion/completions/continuum-party b/share/bash-completion/completions/continuum-party index dbc8961..d13a5a1 100644 --- a/share/bash-completion/completions/continuum-party +++ b/share/bash-completion/completions/continuum-party @@ -82,7 +82,7 @@ _continuum_party() --unset --help --version' local commands='init write keys nodes next propose vote again restore found root fork check judge proposals show status values read twice help' - local intents='admit remove give take keys nodes checkpoint revision' + local intents='admit remove give take keys nodes checkpoint revision name' # The command, the intent of `propose` and `fork`, and the arguments after them that # are no options, as far as the word completed. @@ -146,7 +146,8 @@ _continuum_party() [[ $command == keys ]] && _continuum_party_files return ;; - --node | --token | --unset | --nodes | --founder | --rule | --at | --wait | --party) + --node | --token | --unset | --nodes | --founder | --rule | --at | --wait | --party | \ + --name) return ;; esac @@ -236,7 +237,7 @@ _continuum_party() [[ $cur == -* ]] && _continuum_party_words '--revision' ;; found) - [[ $cur == -* ]] && _continuum_party_words '--nodes --rule --revision' + [[ $cur == -* ]] && _continuum_party_words '--name --nodes --rule --revision' ;; root | check | twice) _continuum_party_files -- cgit v1.3.1