mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-20 13:50:12 +01:00
Basic bash completion for fdroid verify
This commit is contained in:
parent
b3f3710e92
commit
1ef558c68d
@ -149,6 +149,17 @@ __complete_scanner() {
|
||||
__complete_options
|
||||
}
|
||||
|
||||
__complete_verify() {
|
||||
opts="-h -v -p"
|
||||
lopts="--help --verbose --package"
|
||||
case "${prev}" in
|
||||
-p|--package)
|
||||
__package
|
||||
return 0;;
|
||||
esac
|
||||
__complete_options
|
||||
}
|
||||
|
||||
__complete_stats() {
|
||||
opts="-h -v -d"
|
||||
lopts="--help --verbose --download"
|
||||
@ -164,7 +175,7 @@ __complete_server() {
|
||||
_fdroid() {
|
||||
local cmd cmds aliased
|
||||
cmd=${COMP_WORDS[1]}
|
||||
cmds=" build update publish checkupdates import rewritemeta scanner stats server "
|
||||
cmds=" build update publish checkupdates import rewritemeta scanner verify stats server "
|
||||
aliased=false
|
||||
|
||||
for c in $cmds; do eval "_fdroid_${c} () {
|
||||
|
Loading…
Reference in New Issue
Block a user