mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
Add signindex to bash-completion
This commit is contained in:
parent
ba177472da
commit
50a146bf6f
1 changed files with 7 additions and 1 deletions
|
@ -252,6 +252,12 @@ __complete_server() {
|
||||||
__complete_options
|
__complete_options
|
||||||
}
|
}
|
||||||
|
|
||||||
|
__complete_signindex() {
|
||||||
|
opts="-h -v -q"
|
||||||
|
lopts="--help --verbose"
|
||||||
|
__complete_options
|
||||||
|
}
|
||||||
|
|
||||||
__complete_init() {
|
__complete_init() {
|
||||||
opts="-h -v -q -d"
|
opts="-h -v -q -d"
|
||||||
lopts="--help --verbose --quiet --distinguished-name --keystore
|
lopts="--help --verbose --quiet --distinguished-name --keystore
|
||||||
|
@ -263,7 +269,7 @@ _fdroid() {
|
||||||
local cmd cmds
|
local cmd cmds
|
||||||
cmd=${COMP_WORDS[1]}
|
cmd=${COMP_WORDS[1]}
|
||||||
cmds=" build init install update publish checkupdates import \
|
cmds=" build init install update publish checkupdates import \
|
||||||
readmeta rewritemeta lint scanner verify stats server "
|
readmeta rewritemeta lint scanner verify stats server signindex "
|
||||||
|
|
||||||
for c in $cmds; do eval "_fdroid_${c} () {
|
for c in $cmds; do eval "_fdroid_${c} () {
|
||||||
local cur prev opts lopts
|
local cur prev opts lopts
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue