about summary refs log tree commit diff
path: root/Completion/Cygwin/Command/_mkshortcut
diff options
context:
space:
mode:
authorDoug Kearns <dkearns@users.sourceforge.net>2009-01-24 13:59:21 +0000
committerDoug Kearns <dkearns@users.sourceforge.net>2009-01-24 13:59:21 +0000
commitf99436b3a98dfbb86b3dd547d5c58a412b967bd7 (patch)
treede82ec25ac89d85ea97e923bee3073c1ec88501e /Completion/Cygwin/Command/_mkshortcut
parentfa322e5464c8d78fa0c3ac83d3032b51d8120938 (diff)
downloadzsh-f99436b3a98dfbb86b3dd547d5c58a412b967bd7.tar.gz
zsh-f99436b3a98dfbb86b3dd547d5c58a412b967bd7.tar.xz
zsh-f99436b3a98dfbb86b3dd547d5c58a412b967bd7.zip
26411: update Cygwin completion functions
Diffstat (limited to 'Completion/Cygwin/Command/_mkshortcut')
-rw-r--r--Completion/Cygwin/Command/_mkshortcut15
1 files changed, 10 insertions, 5 deletions
diff --git a/Completion/Cygwin/Command/_mkshortcut b/Completion/Cygwin/Command/_mkshortcut
index 8718fa146..7d5a49d83 100644
--- a/Completion/Cygwin/Command/_mkshortcut
+++ b/Completion/Cygwin/Command/_mkshortcut
@@ -1,15 +1,20 @@
 #compdef mkshortcut mkshortcut.exe
 
-_arguments  \
+# cygutils 1.3.2
+
+_arguments -s -S \
   '(--arguments -a)'{-a,--arguments=-}'[use specified arguments]:arguments' \
+  '(--desc -d)'{-d,--desc=-}'[text for description/tooltip (defaults to POSIX path of TARGET)]:description' \
   '(--icon -i)'{-i,--icon=-}'[specify icon file for link to use]:icon file:_files' \
   '(--iconoffset -j)'{-j,--iconoffset=-}'[specify offset of icon in icon file]:offset' \
   '(--name -n)'{-n,--name=-}'[specify name for link]:file:_files' \
+  '(--show -s)'{-s,--show=-}'[window to show: normal, minimized, maximized]:window state:(norm min max)' \
+  '(--workingdir -w)'{-w,--workingdir=-}'[set working directory (defaults to directory path of TARGET)]:working directory:_files -/' \
   '(--allusers -A)'{-A,--allusers}"[use 'All Users' instead of current user for -D,-P]" \
-  '(--desktop -D)'{-D,--desktop}"[create link relative to 'Desktop' directory]" \
-  '(--smprograms -P)'{-P,--smprograms}"[create link relative to Start Menu 'Programs' directory]" \
-  '(- 1)'{-h,--help}'[show help information]' \
+  '(--desktop -D --smprograms -P)'{-D,--desktop}"[create link relative to 'Desktop' directory]" \
+  '(--desktop -D --smprograms -P)'{-P,--smprograms}"[create link relative to Start Menu 'Programs' directory]" \
+  '(- 1)'{-h,--help}'[display help information]' \
   '(- 1)--usage[display brief usage message]' \
-  '(- 1)'{-v,--version}'[show version information]' \
+  '(- 1)'{-v,--version}'[display version information]' \
   '(- 1)--license[display licensing information]' \
   '1:target:_files'