diff options
Diffstat (limited to 'Completion/Cygwin/Command/_mkshortcut')
-rw-r--r-- | Completion/Cygwin/Command/_mkshortcut | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/Completion/Cygwin/Command/_mkshortcut b/Completion/Cygwin/Command/_mkshortcut index 2a9d558aa..8718fa146 100644 --- a/Completion/Cygwin/Command/_mkshortcut +++ b/Completion/Cygwin/Command/_mkshortcut @@ -1,24 +1,15 @@ #compdef mkshortcut mkshortcut.exe -#Generated by Felix Rosencrantz -local context state line -typeset -A opt_args _arguments \ - '(--arguments -a)'{-a,--arguments=-}':Use arguments ARGS:->ARGS' \ - '(--icon -i)'{-i,--icon=-}':icon file for link to use:_files' \ - '(--iconoffset -j)'{-j,--iconoffset=-}':offset of icon in icon file (default is 0):->INT' \ - '(--name -n)'{-n,--name=-}':name for link (defaults to TARGET):_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]" \ - '(--help -h)'{-h,--help}'[Show this help message]' \ - '--usage[Display brief usage message]' \ - '(--version -v)'{-v,--version}'[Display version information]' \ - '--license[Display licensing information]' \ - '1:Target:_files' && return 0 - -case $state in - "ARGS");; - "INT");; -esac - + '(--arguments -a)'{-a,--arguments=-}'[use specified arguments]:arguments' \ + '(--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' \ + '(--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]' \ + '(- 1)--usage[display brief usage message]' \ + '(- 1)'{-v,--version}'[show version information]' \ + '(- 1)--license[display licensing information]' \ + '1:target:_files' |