mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
update bash completion for fdroid import
This commit is contained in:
parent
1d13bbf6b6
commit
e591a73b82
1 changed files with 7 additions and 3 deletions
|
@ -186,10 +186,14 @@ __complete_checkupdates() {
|
||||||
}
|
}
|
||||||
|
|
||||||
__complete_import() {
|
__complete_import() {
|
||||||
opts="-u -s -q"
|
opts="-c -h -l -q -s -u -v -W"
|
||||||
lopts="--url --subdir --rev --quiet"
|
lopts="--categories --license --quiet --rev --subdir --url"
|
||||||
case "${prev}" in
|
case "${prev}" in
|
||||||
-u|--url|-s|--subdir|--rev) return 0;;
|
-c|-l|-s|-u|--categories|--license|--quiet|--rev|--subdir|--url)
|
||||||
|
return 0;;
|
||||||
|
-W)
|
||||||
|
COMPREPLY=( $( compgen -W "error warn ignore" -- $cur ) )
|
||||||
|
return 0;;
|
||||||
esac
|
esac
|
||||||
__complete_options
|
__complete_options
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue