Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: decapitalize completion descriptions
- X-seq: zsh-workers 21294
- From: Doug Kearns <dougkearns@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: PATCH: decapitalize completion descriptions
- Date: Tue, 31 May 2005 21:53:45 +1000
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Here's a small QA patch to change the initial letter in completion
descriptions to lowercase where required.
See: Etc/completion-style-guide
Regards,
Doug
Index: Completion/Cygwin/Command/_cygstart
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Cygwin/Command/_cygstart,v
retrieving revision 1.1
diff -u -r1.1 _cygstart
--- Completion/Cygwin/Command/_cygstart 7 Apr 2003 11:23:18 -0000 1.1
+++ Completion/Cygwin/Command/_cygstart 31 May 2005 09:14:34 -0000
@@ -5,26 +5,26 @@
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]' \
+ '(--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]' \
+ '--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'
Index: Completion/Debian/Command/_apt-move
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_apt-move,v
retrieving revision 1.1
diff -u -r1.1 _apt-move
--- Completion/Debian/Command/_apt-move 28 Apr 2004 14:08:00 -0000 1.1
+++ Completion/Debian/Command/_apt-move 31 May 2005 09:14:34 -0000
@@ -3,11 +3,11 @@
local state line
_arguments \
- '-c[Specify an alternative configuration file]' \
- '-d[Override the DIST setting]' \
- '-f[Override the MAXDELETE setting]' \
- '-q[Be quiet; suppress normal output]' \
- '-t[Show what apt-move would do, but do not actually do anything]' \
+ '-c[specify an alternative configuration file]' \
+ '-d[override the DIST setting]' \
+ '-f[override the MAXDELETE setting]' \
+ '-q[be quiet; suppress normal output]' \
+ '-t[show what apt-move would do, but do not actually do anything]' \
'1: :->cmds' \
'*: :->args' && return 0
Index: Completion/Debian/Command/_module-assistant
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_module-assistant,v
retrieving revision 1.2
diff -u -r1.2 _module-assistant
--- Completion/Debian/Command/_module-assistant 17 Apr 2005 18:49:57 -0000 1.2
+++ Completion/Debian/Command/_module-assistant 31 May 2005 09:14:36 -0000
@@ -22,15 +22,15 @@
_arguments -A \
'(-h --help)'{-h,--help}'[print help screen]' \
- '(-v --verbose)'{-v,--verbose}'[Be verbose, show full paths, etc.]' \
- '(-q --quiet)'{-q,--quiet}'[The opposite of verbose]' \
- '(-n --no-rebuild)'{-n,--no-rebuild}'[Do not rebuild when package exists]' \
- '(-i --ignore-failures)'{-i,--ignore-failures}'[Do not stop on build failures]' \
- '(-s --apt-search)'{-s,--apt-search}'[Search for installation candidates in the Debian archive]' \
- '(-f --force)'{-f,--force}'[Force using new versions even when old ones exist]' \
- '(-u --userdir)'{-u,--userdir}'[Specify a (writable) replacement directory for /var&/usr]:dir:_files -/' \
- '(-l --kvers-list)'{-l,--kvers-list}'[List of kernel versions to work on (default: current version)]:kernel version list:' \
- '(-k --kernel-dir)'{-k,--kernel-dir}'[List of kernel headers/source directories, comma separated]:list of dirs:_files -/' \
+ '(-v --verbose)'{-v,--verbose}'[be verbose, show full paths, etc.]' \
+ '(-q --quiet)'{-q,--quiet}'[the opposite of verbose]' \
+ '(-n --no-rebuild)'{-n,--no-rebuild}'[do not rebuild when package exists]' \
+ '(-i --ignore-failures)'{-i,--ignore-failures}'[do not stop on build failures]' \
+ '(-s --apt-search)'{-s,--apt-search}'[search for installation candidates in the Debian archive]' \
+ '(-f --force)'{-f,--force}'[force using new versions even when old ones exist]' \
+ '(-u --userdir)'{-u,--userdir}'[specify a (writable) replacement directory for /var&/usr]:dir:_files -/' \
+ '(-l --kvers-list)'{-l,--kvers-list}'[list of kernel versions to work on (default: current version)]:kernel version list:' \
+ '(-k --kernel-dir)'{-k,--kernel-dir}'[list of kernel headers/source directories, comma separated]:list of dirs:_files -/' \
'(-t --text-mode)'{-t,--text-mode}'[no progress bars]' \
'1:list of commands:_values -s , subcommands "${_module_assistant_commands[@]}"' \
'*:packages: compadd /usr/src/modass/var_cache_modass/*.avail_version(N:t:r) /var/cache/modass/*.avail_version(N:t:r)'
Index: Completion/Unix/Command/_ccal
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_ccal,v
retrieving revision 1.1
diff -u -r1.1 _ccal
--- Completion/Unix/Command/_ccal 9 May 2005 15:01:35 -0000 1.1
+++ Completion/Unix/Command/_ccal 31 May 2005 09:14:40 -0000
@@ -1,17 +1,17 @@
#compdef ccal
_arguments \
- '-nodata[Ignore appointment descriptions file]' \
- '-data-file=[Load appointments from file]:caldat file:_files' \
- '-future[Show only future appointments on current month]' \
- '-today[Show only today'"'"'s appointments on current month]' \
+ '-nodata[ignore appointment descriptions file]' \
+ '-data-file=[load appointments from file]:caldat file:_files' \
+ '-future[show only future appointments on current month]' \
+ '-today[show only today'"'"'s appointments on current month]' \
'-europe[European format (first day is Monday)]' \
'-american[North American format (first day is Sunday)]' \
- '-maxappts=[Display maximum of n appointments]:number of appointments:('{8..50}')' \
- '-pause[Pause for keystroke before exiting]' \
- '-nocolor[Inhibit use of colors]' \
- '-color-file=[Load color definitions from file]:calcol file:_files' \
- '-8bit[Display 8-bit ascii characters]' \
+ '-maxappts=[display maximum of n appointments]:number of appointments:('{8..50}')' \
+ '-pause[pause for keystroke before exiting]' \
+ '-nocolor[inhibit use of colors]' \
+ '-color-file=[load color definitions from file]:calcol file:_files' \
+ '-8bit[display 8-bit ascii characters]' \
'1:month:(1 2 3 4 5 6 7 8 9 10 11 12 jan feb mar apr may jun jul aug sep oct nov dec)' \
'2:year:'
Index: Completion/Unix/Command/_perl
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_perl,v
retrieving revision 1.7
diff -u -r1.7 _perl
--- Completion/Unix/Command/_perl 21 Jan 2004 13:53:29 -0000 1.7
+++ Completion/Unix/Command/_perl 31 May 2005 09:14:59 -0000
@@ -29,7 +29,7 @@
"-U[allow unsafe operations]" \
"-v[print version number, patchlevel plus VERY IMPORTANT perl info]" \
"-V-[print perl configuration information]:configuration keys:_perl_config_vars" \
- '-w[TURN WARNINGS ON FOR COMPILATION OF YOUR SCRIPT. Recommended.]' \
+ '-w[turn warnings on for compilation of your script. Recommended]' \
'-x-[strip off text before #!perl line and perhaps cd to directory]:directory to cd to:_files -/' \
'1:Perl script:_files -/ -g "*.(p[ml]|PL)(-.)"' \
'*::args: _normal'
Index: Completion/Unix/Command/_surfraw
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_surfraw,v
retrieving revision 1.1
diff -u -r1.1 _surfraw
--- Completion/Unix/Command/_surfraw 21 Apr 2005 23:41:54 -0000 1.1
+++ Completion/Unix/Command/_surfraw 31 May 2005 09:14:59 -0000
@@ -5,11 +5,11 @@
'-elvi[list Surfraw mechanisms for conquering evil]' \
'-escape-url-args=[apply url escaping to arguments]:bool:(yes no)' \
'(-g -graphical)'{-g,-graphical}'[get some windowed sin]' \
- '-p0rn=[Yes, yes, harder, deeper, faster, oh baybe]:bool:(yes no)' \
+ '-p0rn=[yes, yes, harder, deeper, faster, oh baybe]:bool:(yes no)' \
'-help' \
'-quiet:bool:(yes no)' \
'-new[start in a new window]' \
'(-t -text)'{-t,-text}'[back to the yellow brick road]' \
- '(-q -quote)'{-q,-quote}'[Quote arguments with quote characters]' \
+ '(-q -quote)'{-q,-quote}'[quote arguments with quote characters]' \
'-version[display Surfraw version]' \
':elvi: compadd ${${(f)"$(surfraw -elvi)"}%%[[:space:]]##--*}'
Index: Completion/Unix/Command/_vux
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_vux,v
retrieving revision 1.3
diff -u -r1.3 _vux
--- Completion/Unix/Command/_vux 12 Mar 2004 16:32:17 -0000 1.3
+++ Completion/Unix/Command/_vux 31 May 2005 09:14:59 -0000
@@ -21,17 +21,17 @@
'-e:pattern' \
'-O:device:_files' \
'-M:minimum age val' \
- '-S[Disable saving scorelist]' \
- '-A[Disable saving agelist]' \
- '-Z[Disable saving countlist]' \
- '-Y[Disable missing log]' \
- '-c[Disable rating check]' \
- '-d[Disable rating updates on play]' \
- '-l[Disable rating updates on skip]' \
- '-j[Disable repeat check]' \
- '-b[Disable repeat updates on play]' \
- '-k[Disable repeat updates on skip]' \
- '-n[Disable player]' \
+ '-S[disable saving scorelist]' \
+ '-A[disable saving agelist]' \
+ '-Z[disable saving countlist]' \
+ '-Y[disable missing log]' \
+ '-c[disable rating check]' \
+ '-d[disable rating updates on play]' \
+ '-l[disable rating updates on skip]' \
+ '-j[disable repeat check]' \
+ '-b[disable repeat updates on play]' \
+ '-k[disable repeat updates on skip]' \
+ '-n[disable player]' \
'-t:percent' \
'-T:percent' \
'-C:factor' \
@@ -41,17 +41,17 @@
'-X:score' \
'-N:count' \
'-f:rating' \
- '-J[Accelerate decreases]' \
- '-K[Accelerate increases]' \
- '-u[Check age before rating]' \
- '-R[Show ratings after processing]' \
- '-V[Verbose file manipulation]' \
- '-v[Show version and exit]' \
- '-F[Skip songs with -n and -xf]' \
- '-q[Minimize vux output]' \
- '-P[Always play new songs]' \
+ '-J[accelerate decreases]' \
+ '-K[accelerate increases]' \
+ '-u[check age before rating]' \
+ '-R[show ratings after processing]' \
+ '-V[verbose file manipulation]' \
+ '-v[show version and exit]' \
+ '-F[skip songs with -n and -xf]' \
+ '-q[minimize vux output]' \
+ '-P[always play new songs]' \
'-g[print stats in xgraph format]' \
- '-h[Show summary of options]'
+ '-h[show summary of options]'
;;
(vuxctl)
Index: Completion/X/Command/_kfmclient
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/X/Command/_kfmclient,v
retrieving revision 1.5
diff -u -r1.5 _kfmclient
--- Completion/X/Command/_kfmclient 24 Mar 2005 19:10:08 -0000 1.5
+++ Completion/X/Command/_kfmclient 31 May 2005 09:14:59 -0000
@@ -45,7 +45,7 @@
'--config=:configuration file:_files' \
'--dcopserver=:DCOP server: ' \
'--nocrashhandler[disable crash handler, allow core dumps]' \
- '--waitforwm[Wait for a WM_NET compatible window manager]' \
+ '--waitforwm[wait for a WM_NET compatible window manager]' \
'--style=:GUI style for application: ' \
'--geometry=:client window geometry:_x_geometry' \
'1:client command:(openURL openProfile openProperties exec move
Messages sorted by:
Reverse Date,
Date,
Thread,
Author