diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2002-04-16 07:48:43 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2002-04-16 07:48:43 +0000 |
commit | 61f8a07bfc2348b14a7dc194968fcf62f723f36f (patch) | |
tree | 9c8b7a2d6f832b6d84dcb5963bc6715efb0c4291 /Completion/X/Command | |
parent | d8fc48f7daa6758ec6a239789b6922af614e1fac (diff) | |
download | zsh-61f8a07bfc2348b14a7dc194968fcf62f723f36f.tar.gz zsh-61f8a07bfc2348b14a7dc194968fcf62f723f36f.tar.xz zsh-61f8a07bfc2348b14a7dc194968fcf62f723f36f.zip |
make more calls to _message use the -e option (16988)
Diffstat (limited to 'Completion/X/Command')
-rw-r--r-- | Completion/X/Command/_x_utils | 6 | ||||
-rw-r--r-- | Completion/X/Command/_xauth | 6 | ||||
-rw-r--r-- | Completion/X/Command/_xmodmap | 2 | ||||
-rw-r--r-- | Completion/X/Command/_xwit | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/Completion/X/Command/_x_utils b/Completion/X/Command/_x_utils index e286dd3b3..183f5efb9 100644 --- a/Completion/X/Command/_x_utils +++ b/Completion/X/Command/_x_utils @@ -88,9 +88,9 @@ xhost) case "$type" in inet) _hosts && ret=0;; - dnet) _message 'DECnet host';; - nis) _message 'Secure RPC network name';; - krb) _message 'Kerberos V5 principal';; + dnet) _message -e decnet-hosts 'DECnet host';; + nis) _message -e network-names 'Secure RPC network name';; + krb) _message -e principals 'Kerberos V5 principal';; esac else _alternative \ diff --git a/Completion/X/Command/_xauth b/Completion/X/Command/_xauth index d702e5f0a..14dfc8400 100644 --- a/Completion/X/Command/_xauth +++ b/Completion/X/Command/_xauth @@ -37,9 +37,9 @@ while [[ -n "$state" ]]; do state=protocolname else case "$words[CURRENT-1]" in - timeout) _message 'timeout(seconds)';; - group) _message 'group-id';; - data) _message 'hexdata';; + timeout) _message -e values 'timeout (seconds)';; + group) _message -e ids 'group-id';; + data) _message -e values 'hexdata';; *) _wanted options expl 'xauth generate options' \ compadd trusted untrusted timeout group data && ret=0 diff --git a/Completion/X/Command/_xmodmap b/Completion/X/Command/_xmodmap index 5c7fcf3fe..928b6b243 100644 --- a/Completion/X/Command/_xmodmap +++ b/Completion/X/Command/_xmodmap @@ -27,7 +27,7 @@ if [[ -n "$state" ]]; then PREFIX='' compadd -S ' ' '=' && ret=0 else - _message 'key code or `any'"'" + _message -e keys 'key code or `any'"'" fi ;; keysym*) diff --git a/Completion/X/Command/_xwit b/Completion/X/Command/_xwit index 8676ef484..5c6a7f650 100644 --- a/Completion/X/Command/_xwit +++ b/Completion/X/Command/_xwit @@ -70,9 +70,9 @@ _regex_arguments _xwit_parse \ "/$word/" ':option-iconmove-y:y:' \ \| "/-id$nul/" "$guard" "/$word/" ':option-id:window id:_x_window' \ \| "/-(no|)keyrepeat$nul/" "$guard" \ - \( "/[0-9]##$nul/" ':option-keyrepeat-keycode:keycode:{[[ -prefix [0-9]# ]] && _message keycode}' \ + \( "/[0-9]##$nul/" ':option-keyrepeat-keycode:keycode:{[[ -prefix [0-9]# ]] && _message -e keycodes keycode}' \ \( "/-$nul/" "/[0-9]##$nul/" \ - ':option-keyrepeat-last-keycode:last keycode:{[[ -prefix [0-9]# ]] && _message "last keycode"}' \| \) \) \# \ + ':option-keyrepeat-last-keycode:last keycode:{[[ -prefix [0-9]# ]] && _message -e keycodes "last keycode"}' \| \) \) \# \ \| "/-names$nul/" "$guard" \ "/$word/" ':option-names:window name:_x_window -n' \# \ \| "/[]/" ':options:option:_xwit_compopts' \ |