aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-20 01:31:09 +0000
committertv <tv@krebsco.de>2026-11-20 02:39:01 +0100
commit6e5afca5a795f3bf5da43f20c81fb70216ae12d8 (patch)
tree47ae258bd4c66b4c0deb1278c6086eaf7ff869a2 /share
parent96a733e1ccbf6dab2d69f263d655e487ac54c20d (diff)
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.
Diffstat (limited to 'share')
-rw-r--r--share/bash-completion/completions/continuum-party7
1 files changed, 4 insertions, 3 deletions
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