aboutsummaryrefslogtreecommitdiffstats
path: root/src/_xsel
diff options
context:
space:
mode:
authorShohei YOSHIDA <syohex@gmail.com>2024-08-04 14:19:29 +0900
committerShohei YOSHIDA <syohex@gmail.com>2024-08-04 14:19:29 +0900
commit4dfb7a51c5ae9fa61ff0cbe94538d49676687484 (patch)
tree4fd7ae5198ba142f760426062b1bb1b7f118cecb /src/_xsel
parentUpdate clang-tidy completion (diff)
downloadzsh-completions-4dfb7a51c5ae9fa61ff0cbe94538d49676687484.tar
zsh-completions-4dfb7a51c5ae9fa61ff0cbe94538d49676687484.tar.gz
zsh-completions-4dfb7a51c5ae9fa61ff0cbe94538d49676687484.tar.bz2
zsh-completions-4dfb7a51c5ae9fa61ff0cbe94538d49676687484.tar.lz
zsh-completions-4dfb7a51c5ae9fa61ff0cbe94538d49676687484.tar.xz
zsh-completions-4dfb7a51c5ae9fa61ff0cbe94538d49676687484.tar.zst
zsh-completions-4dfb7a51c5ae9fa61ff0cbe94538d49676687484.zip
Cleanup code
Diffstat (limited to 'src/_xsel')
-rw-r--r--src/_xsel14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/_xsel b/src/_xsel
index 460d992..43f9d20 100644
--- a/src/_xsel
+++ b/src/_xsel
@@ -39,7 +39,7 @@
# ------------------------------------------------------------------------------
local input='(-a --append -f --follow -i --input)'
-local operation='(-c --clear -d --delete -k --keep -x --exchange)'
+local operation='(-c --clear -d --delete -k --keep -x --exchange)'
local selection='(-p --primary -s --secondary -b --clipboard)'
_arguments -s \
@@ -58,6 +58,14 @@ _arguments -s \
{-t,--selectionTimeout}'[specify the timeout in milliseconds within which the selection must be retrieved]:number' \
{-l,--logfile}'[specify the file to log errors to when detached (default $HOME/.xsel.log)]:log file:_files' \
{-n,--nodetach}'[do not detach from the controlling terminal]' \
- {-h,--help}'[display usage information and exit]' \
+ '(- *)'{-h,--help}'[display usage information and exit]' \
{-v,--verbose}'[print informative messages; additional instances of -v raise the debugging level]' \
- '--version[output version information and exit]'
+ '(- *)--version[output version information and exit]'
+
+# Local Variables:
+# mode: Shell-Script
+# sh-indentation: 2
+# indent-tabs-mode: nil
+# sh-basic-offset: 2
+# End:
+# vim: ft=zsh sw=2 ts=2 et