summaryrefslogtreecommitdiff
path: root/Completion/Cygwin/Command/_mkshortcut
diff options
context:
space:
mode:
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'