From 3f52f95978987d51b4f8f548c7cccc5cae7d64f5 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Thu, 28 Aug 2003 10:36:00 +0000 Subject: merge completion function changes back from 4.1 --- Completion/Cygwin/Command/_cygstart | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Completion/Cygwin/Command/_cygstart (limited to 'Completion/Cygwin/Command/_cygstart') diff --git a/Completion/Cygwin/Command/_cygstart b/Completion/Cygwin/Command/_cygstart new file mode 100644 index 000000000..5cc54a6e4 --- /dev/null +++ b/Completion/Cygwin/Command/_cygstart @@ -0,0 +1,30 @@ +#compdef cygstart cygstart.exe +#Generated by Felix Rosencrantz + +local context state line +typeset -A opt_args +_arguments \ + '(--action -a)'{-a,--action=-}':Use specified action instead of default:(open edit explore print find)' \ + '(--open -o)'{-o,--open}'[Short for: --action open]' \ + '(--explore -x)'{-x,--explore}'[Short for: --action explore]' \ + '(--edit -e)'{-e,--edit}'[Short for: --action edit]' \ + '(--find -f)'{-f,--find}'[Short for: --action find]' \ + '(--print -p)'{-p,--print}'[Short for: --action print]' \ + '(--directory -d)'{-d,--directory=-}':Set working directory:_directories' \ + '--hide[Hides the window and activates another window]' \ + '--maximize[Maximizes the specified window]' \ + '--minimize[Minimizes the specified window and activates the next top-level window in the z-order]' \ + '--restore[Activates and displays the window. If the window is minimized or maximized, Windows restores it to its original size and position. An application should specify this flag when restoring a minimized window]' \ + '--show[Activates the window and displays it in its current size and position]' \ + '--showmaximized[Activates the window and displays it as a maximized window]' \ + '--showminimized[Activates the window and displays it as a minimized window]' \ + '--showminnoactive[Displays the window as a minimized window. The active window remains active]' \ + '--showna[Displays the window in its current state. The active window remains active]' \ + '--shownoactivate[Displays a window in its most recent size and position. The active window remains active]' \ + '--shownormal[Activates and displays a window. If the window is minimized or maximized, Windows restores it to its original size and position. An application should specify this flag when displaying the window for the first time]' \ + '(--help -?)'{'-?',--help}'[Show this help message]' \ + '--usage[Display brief usage message]' \ + '--version[Display version information]' \ + '--license[Display licensing information]' \ + '--reference[Open MSDN reference for ShellExecute]' \ + '*:program: _command_names -e:*::program arguments: _normal' -- cgit 1.4.1