Adapt checkupdates

This commit is contained in:
Daniel Martí 2013-12-11 19:37:38 +01:00
parent 21db79eea2
commit 3aec0aacd7
5 changed files with 13 additions and 19 deletions

View file

@ -139,13 +139,15 @@ __complete_publish() {
__complete_checkupdates() {
opts="-h -v -p"
lopts="--help --verbose --package --auto --autoonly --commit --gplay"
case "${prev}" in
-p|--package)
lopts="--help --verbose --auto --autoonly --commit --gplay"
case "${cur}" in
-*)
__complete_options
return 0;;
*)
__package
return 0;;
esac
__complete_options
}
__complete_import() {