Lines 1118-1127
_equery()
Link Here
|
1118 |
;; |
1118 |
;; |
1119 |
esac |
1119 |
esac |
1120 |
;; |
1120 |
;; |
1121 |
c?(hanges)|a|glsa|t|stats) |
1121 |
a|glsa|t|stats) |
1122 |
# These commands have not been implemented in 'equery' yet ... |
1122 |
# These commands have not been implemented in 'equery' yet ... |
1123 |
echo -n "# Not implemented! " |
1123 |
echo -n "# Not implemented! " |
1124 |
;; |
1124 |
;; |
|
|
1125 |
c?(hanges)) |
1126 |
# Complete package name only if it is not yet supplied. |
1127 |
if [[ ${prev} == ${mode} ]]; then |
1128 |
case $cur in |
1129 |
-*) |
1130 |
COMPREPLY=($(compgen -W "-h --help" -- $cur)) |
1131 |
;; |
1132 |
*) |
1133 |
_pkgname -A $cur |
1134 |
;; |
1135 |
esac |
1136 |
else |
1137 |
case $cur in |
1138 |
*) |
1139 |
COMPREPLY=($(compgen -W "-h --help -l --latest -f --full --limit --from --to" -- $cur)) |
1140 |
;; |
1141 |
esac |
1142 |
fi |
1143 |
;; |
1125 |
f?(iles)) |
1144 |
f?(iles)) |
1126 |
# Only complete if the previous entry on the command line is not |
1145 |
# Only complete if the previous entry on the command line is not |
1127 |
# a package name. |
1146 |
# a package name. |
1128 |
- |
|
|