summaryrefslogtreecommitdiff
path: root/Completion/openSUSE/Command
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/openSUSE/Command')
-rw-r--r--Completion/openSUSE/Command/_hwinfo2
-rw-r--r--Completion/openSUSE/Command/_zypper12
2 files changed, 7 insertions, 7 deletions
diff --git a/Completion/openSUSE/Command/_hwinfo b/Completion/openSUSE/Command/_hwinfo
index aac0a05ad..7dff82805 100644
--- a/Completion/openSUSE/Command/_hwinfo
+++ b/Completion/openSUSE/Command/_hwinfo
@@ -5,7 +5,7 @@ _arguments \
'--version[show libhd version]' \
'--short[just a short listing]' \
'--log[write info to logfile]:logfile:_files' \
- '--debug[set debuglevel]:debuglevels:(1 2 3 4 5 6 7 8 9)' \
+ '--debug[set debuglevel]:debug level:(1 2 3 4 5 6 7 8 9)' \
'--dump-db[dump hardware data base, 0: external, 1: internal]:dumpdb:(0 1)' \
'--bios' \
'--block' \
diff --git a/Completion/openSUSE/Command/_zypper b/Completion/openSUSE/Command/_zypper
index 25a32c3f1..3f3402bd9 100644
--- a/Completion/openSUSE/Command/_zypper
+++ b/Completion/openSUSE/Command/_zypper
@@ -65,17 +65,17 @@ _zypper() {
_all_repos() {
local -a repos
repos=( $(zypper -q lr | tail -n +3 | cut -d'|' -f 2) )
- _describe -t repos 'Available repositories' repos && return
+ _describe -t repos 'available repository' repos && return
}
_enabled_repos() {
repos=( $(zypper -x lr | grep 'enabled="1"' | cut -d\" -f 2) )
- _describe -t repos 'Available repositories' repos && return
+ _describe -t repos 'available repository' repos && return
}
_disabled_repos() {
repos=( $(zypper -x lr | grep 'enabled="0"' | cut -d\" -f 2) )
- _describe -t repos 'Available repositories' repos && return
+ _describe -t repos 'available repository' repos && return
}
_zypper_cmd_do() {
@@ -107,7 +107,7 @@ _zypper_cmd_do() {
case ${words[CURRENT - 1]} in
--from)
repos=( $(zypper -x lr | grep 'enabled="1"' | cut -d\" -f 2) )
- _describe -t repos 'Available repositories' repos && return
+ _describe -t repos 'available repository' repos && return
;;
(--enable|-e)
case $cmd in
@@ -128,7 +128,7 @@ _zypper_cmd_do() {
case $cmd in
(if|info|se|search|in|install)
types=( pattern srcpackage package patch )
- _describe -t types 'Package types' types && return
+ _describe -t types 'package type' types && return
;;
esac
;;
@@ -143,7 +143,7 @@ _zypper_cmd_do() {
;;
(in|install)
local expl
- _description files expl 'RPM files'
+ _description files expl 'RPM file'
_files "$expl[@]" -g '*.(#i)rpm(.)'
;;
esac