diff options
author | Doug Kearns <dkearns@users.sourceforge.net> | 2010-06-06 13:44:11 +0000 |
---|---|---|
committer | Doug Kearns <dkearns@users.sourceforge.net> | 2010-06-06 13:44:11 +0000 |
commit | a54fdc70be299a203a51d69c4e823f209a4c06ca (patch) | |
tree | 6d1c67674d388e1ca64c4210e283d1bd11eea2c7 /Completion/Unix | |
parent | 4ad0a25af110e2afe956bce13e901f78fd9e6bcd (diff) | |
download | zsh-a54fdc70be299a203a51d69c4e823f209a4c06ca.tar.gz zsh-a54fdc70be299a203a51d69c4e823f209a4c06ca.tar.xz zsh-a54fdc70be299a203a51d69c4e823f209a4c06ca.zip |
unposted: fix incorrectly capitalized completion descriptions
Diffstat (limited to 'Completion/Unix')
26 files changed, 699 insertions, 699 deletions
diff --git a/Completion/Unix/Command/_arp b/Completion/Unix/Command/_arp index d9b033e90..64a8b8069 100644 --- a/Completion/Unix/Command/_arp +++ b/Completion/Unix/Command/_arp @@ -10,8 +10,8 @@ _arguments -C \ "($cmds 1 -n --numeric -D --use-device -H --hw-type)"{-d,--delete}'[delete entry from table]:host:->hostintable' \ "($cmds 1 -n --numeric)"{-s,--set}'[create an ARP entry]:host:_hosts:ethernet address::*:option:(temp trail pub)' \ "($cmds 1 -n --numeric)"{-f,--file}'[read multiple entries from file]:file:_files' \ - '(-i --device)'{-i,--device}'[Select an interface]:::_net_interfaces:' \ - '(-D --use-device -a --display -d --delete)'{-D,--use-device}"[Use the interface ifa's hardware address]" \ + '(-i --device)'{-i,--device}'[select an interface]:::_net_interfaces:' \ + '(-D --use-device -a --display -d --delete)'{-D,--use-device}"[use the interface ifa's hardware address]" \ '(-H --hw-type -d --delete)'{-H,--hw-type}'[class of entries to check for]:class:(ether arcnet pronet ax25 netrom)' \ '(-n --numeric -d --delete -s --set -f --file)'{-n,--numeric}'[shows numerical addresses]' \ '(-v --verbose)'{-v,--verbose}'[be verbose]' \ diff --git a/Completion/Unix/Command/_arping b/Completion/Unix/Command/_arping index 5fc65a27a..fea110934 100644 --- a/Completion/Unix/Command/_arping +++ b/Completion/Unix/Command/_arping @@ -7,7 +7,7 @@ _arguments -s \ '-q[be quiet]' \ '-b[keep broadcasting, do not go unicast]' \ '-D[duplicate address detection mode]'\ - '-U[Unsolicited ARP mode, update your neighbours]' \ + '-U[unsolicited ARP mode, update your neighbours]' \ '-A[ARP answer mode, update your neighbours]' \ '-V[print version and exit]' \ '-c[how many packets to send]:count' \ diff --git a/Completion/Unix/Command/_bzr b/Completion/Unix/Command/_bzr index a757a1059..47083ca49 100644 --- a/Completion/Unix/Command/_bzr +++ b/Completion/Unix/Command/_bzr @@ -116,10 +116,10 @@ case $cmd in (log) args+=( '--forward[reverse direction of revisions]' - '(-l --long --short --log_format)--line[Use log format with one line per revision. Same as "--log-format line"]' - '(-l --long --short --line)--log-format=[Use the specified log format]:log format:(line short long)' - '(-l --long --short --line --log-format)'{--long,-l}'[Use detailed log format. Same as "--log-format long"]' - '(-l --long --log_format)--short[Use moderately short log format. Same as "--log-format short"]' + '(-l --long --short --log_format)--line[use log format with one line per revision. Same as "--log-format line"]' + '(-l --long --short --line)--log-format=[use the specified log format]:log format:(line short long)' + '(-l --long --short --line --log-format)'{--long,-l}'[use detailed log format. Same as "--log-format long"]' + '(-l --long --log_format)--short[use moderately short log format. Same as "--log-format short"]' '(-m --message)'{--message=,-m}'[specify regexp]:regexp:' '(-r --revision)'{--revision=,-r}'[revision or range]:rev or rev range:' '--show-ids[show file IDs]' @@ -180,8 +180,8 @@ case $cmd in (pull) args+=( - '--overwrite[Ignore differences, overwrite unconditionally]' - '--remember[Remember the specified location as a default]' + '--overwrite[ignore differences, overwrite unconditionally]' + '--remember[remember the specified location as a default]' '(-r --revision)'{--revision=,-r}'[get a particular revision]:revision:' '(-v --verbose)'{--verbose,-v}'[display more information]' '*:local repository:_files -/' @@ -191,14 +191,14 @@ case $cmd in (missing) args+=( - '(-l --long --short --log_format)--line[Use log format with one line per revision. Same as "--log-format line"]' - '(-l --long --short --line)--log-format=[Use the specified log format]:log format:(line short long)' - '(-l --long --short --line --log-format)'{--long,-l}'[Use detailed log format. Same as "--log-format long"]' - '(-l --long --log_format)--short[Use moderately short log format. Same as "--log-format short"]' - '--mine-only[Display changes in the local branch only]' - '--reverse[Reverse the order of revisions]' + '(-l --long --short --log_format)--line[use log format with one line per revision. Same as "--log-format line"]' + '(-l --long --short --line)--log-format=[use the specified log format]:log format:(line short long)' + '(-l --long --short --line --log-format)'{--long,-l}'[use detailed log format. Same as "--log-format long"]' + '(-l --long --log_format)--short[use moderately short log format. Same as "--log-format short"]' + '--mine-only[display changes in the local branch only]' + '--reverse[reverse the order of revisions]' '--show-ids[show internal object ids]' - '--theirs-only[Display changes in the remote branch only]' + '--theirs-only[display changes in the remote branch only]' '(-v --verbose)'{--verbose,-v}'[display more information]' '*:local repository:_files -/' ) @@ -238,8 +238,8 @@ case $cmd in (remerge) args+=( '--merge-type=[the type of the merge]:type:' - '--reprocess[Reprocess to reduce spurious conflicts]' - '--show-base[Show base revision text in conflicts]' + '--reprocess[reprocess to reduce spurious conflicts]' + '--show-base[show base revision text in conflicts]' ) _bzr_completeParents ;; @@ -308,10 +308,10 @@ case $cmd in args+=( '--force[ignore uncommitted changes]' '--merge-type:merge type:(diff3 merge3 weave)' - '--remember[Remember the specified location as a default]' - '--reprocess[Reprocess to reduce spurious conflicts]' + '--remember[remember the specified location as a default]' + '--reprocess[reprocess to reduce spurious conflicts]' '(-r --revision)'{--revision=,-r}'[revision]:revision:' - '--show-base[Show base revision text in conflicts]' + '--show-base[show base revision text in conflicts]' '*:local repository:_files -/' ) _bzr_completeParents @@ -322,18 +322,18 @@ case $cmd in '(-q --quiet -v --verbose)'{--quiet,-q}'[be quiet]' '(-v --verbose -q --quiet)'{--verbose,-v}'[display more information]' '(-r --revision)'{--revision=,-r}'[revision]:revision:' - '--from-root[Print all paths from the root of the branch]' - '--non-recursive[Do not recurse into subdirectories]' - '--null[Null separate the files]' - '--ignored[Print ignored files]' - '--unknown[Print unknown files]' - '--versioned[Print versioned files]' + '--from-root[print all paths from the root of the branch]' + '--non-recursive[do not recurse into subdirectories]' + '--null[null separate the files]' + '--ignored[print ignored files]' + '--unknown[print unknown files]' + '--versioned[print versioned files]' ) ;; (switch) args+=( - '--force[Switch even if local commits will be lost]' + '--force[switch even if local commits will be lost]' '(-q --quiet -v --verbose)'{--quiet,-q}'[be quiet]' '(-v --verbose -q --quiet)'{--verbose,-v}'[display more information]' '*:local repository:_files -/' @@ -367,9 +367,9 @@ case $cmd in (push) args+=( - '--create-prefix[Create the path leading up to the branch when missing]' - '--overwrite[Ignore differences, overwrite unconditionally]' - '--remember[Remember the specified location as a default]' + '--create-prefix[create the path leading up to the branch when missing]' + '--overwrite[ignore differences, overwrite unconditionally]' + '--remember[remember the specified location as a default]' '*:local repository:_files -/' ) _bzr_completeParents diff --git a/Completion/Unix/Command/_cdcd b/Completion/Unix/Command/_cdcd index 9e832eea5..3fa83f61f 100644 --- a/Completion/Unix/Command/_cdcd +++ b/Completion/Unix/Command/_cdcd @@ -32,7 +32,7 @@ _cdcd_commands () 'list:list all CDs in a CD-ROM changer' 'slot:changes the current CD in the CD-ROM changer' 'edit:edit information about the disc' - 'ext:Extended information about the disc' + 'ext:extended information about the disc' 'refresh:refresh the information about the CD from a CDDB server' 'device:change the CD-ROM device cdcd will use' 'verbose:toggle verbosity' diff --git a/Completion/Unix/Command/_ecasound b/Completion/Unix/Command/_ecasound index 204ce869a..e31b072f9 100644 --- a/Completion/Unix/Command/_ecasound +++ b/Completion/Unix/Command/_ecasound @@ -15,7 +15,7 @@ _arguments \ '-sr\:-[set internal sampling rate]:internal sampling rate:(8000 11025 22050 44100 48000)' \ '*-a\:-[select active signal chains]:chain name' \ '-b\:-[set the size of buffer in samples]:buffer size:->b' \ - '-m\:-[force use of specified mix mode]:mix mode:((auto\:Automatic simple\:Only\ one\ input/cain/output normal\:Normal\ single-threaded\ mode))' \ + '-m\:-[force use of specified mix mode]:mix mode:((auto\:automatic simple\:only\ one\ input/cain/output normal\:normal\ single-threaded\ mode))' \ '-r[use realtime scheduling policy (SCHED_FIFO)]' \ '-r\:-[use realtime scheduling policy (SCHED_FIFO)]:sched_priority' \ '-x[truncate outputs]' \ diff --git a/Completion/Unix/Command/_feh b/Completion/Unix/Command/_feh index f29bf6ee9..82b2b4086 100644 --- a/Completion/Unix/Command/_feh +++ b/Completion/Unix/Command/_feh @@ -69,44 +69,44 @@ argument_pairs=( ) argument_postfix=( - 'help' '[Show help]' - 'version' '[Show version information]' - 'verbose' '[Be verbose]' - 'quiet' '[Suppress non-fatal errors]' - 'theme' '[Load named options from config]:theme:_feh_theme' - 'recursive' '[Recurse into subdirectories]' - 'randomize' '[Randomize file list before displaying]' - 'filelist' '[Read file list from this file]:file:_files' - 'preload' '[Eliminate unlaodable images before displaying]' - 'full-screen' '[Make the window fullscreen]' - 'geometry' '[Limit window size]:geometry: ' - 'auto-zoom' '[Zoom picture to screen size]' - 'multiwindow' '[Multiple windows, one image per window]' - 'borderless' '[Borderless windows]' - 'draw-filename' '[Show filename in images]' - 'reload' '[Time delay for reloading]:time: ' - 'keep-http' "[Don't delete cached files]" - 'builtin' '[Use builtin http client]' - 'list' '[List images, their size, etc.]' - 'customlist' '[Format list output]:format: ' - 'loadable' '[Print loadable images]' - 'unloadable' '[Print unloadable images]' - 'sort' '[Sort images]:sort type:(name filename width height pixels size format)' - 'reverse' '[Reverse sort order]' - 'action' '[Action to perform on each image]:shell: ' - 'montage' '[Enable montage mode]' - 'collage' '[Enable collage mode]' - 'index' '[Enable index mode]' - 'fullindex' '[Enable verbose index mode]' - 'thumbnails' '[Enable interactive index mode]' - 'menu-font' '[Set font in menus]:font: ' - 'no-menus' "[Don't load or show any menus]" - 'reload-button' '[Button to reload image]:button:_feh_button' - 'pan-button' '[Button to pan image]:button:_feh_button' - 'zoom-button' '[Button to zoom image]:button:_feh_button' - 'menu-button' '[Button to activate menu]:button:_feh_button' - 'prev-button' '[Button to go to previous image]:button:_feh_button' - 'next-button' '[Button to go to next image]:button:_feh_button' + 'help' '[show help]' + 'version' '[show version information]' + 'verbose' '[be verbose]' + 'quiet' '[suppress non-fatal errors]' + 'theme' '[load named options from config]:theme:_feh_theme' + 'recursive' '[recurse into subdirectories]' + 'randomize' '[randomize file list before displaying]' + 'filelist' '[read file list from this file]:file:_files' + 'preload' '[eliminate unlaodable images before displaying]' + 'full-screen' '[make the window fullscreen]' + 'geometry' '[limit window size]:geometry: ' + 'auto-zoom' '[zoom picture to screen size]' + 'multiwindow' '[multiple windows, one image per window]' + 'borderless' '[borderless windows]' + 'draw-filename' '[show filename in images]' + 'reload' '[time delay for reloading]:time: ' + 'keep-http' "[don't delete cached files]" + 'builtin' '[use builtin http client]' + 'list' '[list images, their size, etc.]' + 'customlist' '[format list output]:format: ' + 'loadable' '[print loadable images]' + 'unloadable' '[print unloadable images]' + 'sort' '[sort images]:sort type:(name filename width height pixels size format)' + 'reverse' '[reverse sort order]' + 'action' '[action to perform on each image]:shell: ' + 'montage' '[enable montage mode]' + 'collage' '[enable collage mode]' + 'index' '[enable index mode]' + 'fullindex' '[enable verbose index mode]' + 'thumbnails' '[enable interactive index mode]' + 'menu-font' '[set font in menus]:font: ' + 'no-menus' "[don't load or show any menus]" + 'reload-button' '[button to reload image]:button:_feh_button' + 'pan-button' '[button to pan image]:button:_feh_button' + 'zoom-button' '[button to zoom image]:button:_feh_button' + 'menu-button' '[button to activate menu]:button:_feh_button' + 'prev-button' '[button to go to previous image]:button:_feh_button' + 'next-button' '[button to go to next image]:button:_feh_button' 'rotate-button' '[Ctrl+Button to rotate image]:button:_feh_button' 'blur-button' '[Ctrl+Button tu blur image]:button:_feh_button' 'ignore-aspect' "[montage mode: Don't preserve aspect ratio]" @@ -119,47 +119,47 @@ argument_postfix=( 'alpha' '[montage mode: Thumbnail transparency level]:integer: ' 'font' '[index mode: Thumbnail info font]:font: ' 'slideshow-delay' '[slide change delay]:seconds' - 'scale-down' '[Scale down images which are too big]' - 'output-dir' '[Save files to DIR (with -k)]:directory:_files -/' - 'wget-timestamp' '[Add no timestamp ("?123") to URLs]' - 'fontpath' '[Add paths to font path]:font path:_files -/' - 'image-bg' '[Set transparent image background]:background:(white black default)' + 'scale-down' '[scale down images which are too big]' + 'output-dir' '[save files to DIR (with -k)]:directory:_files -/' + 'wget-timestamp' '[add no timestamp ("?123") to URLs]' + 'fontpath' '[add paths to font path]:font path:_files -/' + 'image-bg' '[set transparent image background]:background:(white black default)' 'output' '[montage mode: Output file]:file:_files' 'output-only' "[montage mode: Output file, don't display montage]:file: files" - 'rcfile' '[Specify config file]:file:_files' - 'thumb-title' '[Window title in thumbnail mode]:format string' - 'title' '[Window title in slideshow mode]:format string' - 'start-at' '[Start slideshow at]:file:_files' - 'title-font' '[Title font for index mode]:font' + 'rcfile' '[specify config file]:file:_files' + 'thumb-title' '[window title in thumbnail mode]:format string' + 'title' '[window title in slideshow mode]:format string' + 'start-at' '[start slideshow at]:file:_files' + 'title-font' '[title font for index mode]:font' ) arguments=( - '--zoom[Zoom images]:percent: ' - '--caption-path[Where to look for image captions]:relative directory: ' + '--zoom[zoom images]:percent: ' + '--caption-path[where to look for image captions]:relative directory: ' --action{1..9}':shell: ' - '--bg-tile[Set tiled desktop background]:file:_files' - '--bg-center[Set centered desktop background]:file:_files' - '--bg-scale[Set scaled desktop background]:file:_files' - '--bg-seamless[Set desktop background with seamless borders]:file:_files' - '--bg-fill[Set scaled desktop background, preserving aspect ratio]:file:_files' - '--menu-style[Style descriptor for menu text]:file:_files' - '--menu-border[Set menu background border]:integer: ' - '--menu-ctrl-mask[Use Ctrl+Button to display menu]' - '--no-rotate-ctrl-mask[Don'\''t require Ctrl for the rotate button]' - '--no-blur-ctrl-mask[Don'\''t require Ctrl for the blur button]' - '--no-xinerama[Disable xinerama support]' - '--screen-clip[Toggle window clipping]' - '--hide-pointer[Hide mouse pointer in fullscreen mode]' + '--bg-tile[set tiled desktop background]:file:_files' + '--bg-center[set centered desktop background]:file:_files' + '--bg-scale[set scaled desktop background]:file:_files' + '--bg-seamless[set desktop background with seamless borders]:file:_files' + '--bg-fill[set scaled desktop background, preserving aspect ratio]:file:_files' + '--menu-style[style descriptor for menu text]:file:_files' + '--menu-border[set menu background border]:integer: ' + '--menu-ctrl-mask[use Ctrl+Button to display menu]' + '--no-rotate-ctrl-mask[don'\''t require Ctrl for the rotate button]' + '--no-blur-ctrl-mask[don'\''t require Ctrl for the blur button]' + '--no-xinerama[disable xinerama support]' + '--screen-clip[toggle window clipping]' + '--hide-pointer[hide mouse pointer in fullscreen mode]' '*--fontpath[index mode: directory to search for fonts]:directory:_path_files -/' - '--index-name[Show image name in index/thumbnail mode]:bool:(0 1)' - '--index-size[Show image size in index/thumbnail mode]:bool:(0 1)' - '--index-dim[Show image dimensions in index/thumbnail mode]:bool:(0 1)' - '--no-jump-on-resort[Stay at current image after resorting the filelist]' - '--cycle-once[Quit after one loop through the slideshow]' - '--draw-actions[Draw defined actions]' - '--cache-thumbnails[Enable thumbnail caching]' - '--menu-bg[Background image in menus]: :_feh_background' - '--thumb-redraw[Set thumbnail image redraw frequency]:digit' + '--index-name[show image name in index/thumbnail mode]:bool:(0 1)' + '--index-size[show image size in index/thumbnail mode]:bool:(0 1)' + '--index-dim[show image dimensions in index/thumbnail mode]:bool:(0 1)' + '--no-jump-on-resort[stay at current image after resorting the filelist]' + '--cycle-once[quit after one loop through the slideshow]' + '--draw-actions[draw defined actions]' + '--cache-thumbnails[enable thumbnail caching]' + '--menu-bg[background image in menus]: :_feh_background' + '--thumb-redraw[set thumbnail image redraw frequency]:digit' '*:file:_files' ) diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index cb06d5703..e8ef1131a 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -760,7 +760,7 @@ _git-update-index () { '--unmerged[if unmerged changes exists, ignore them instead of exiting]' \ '--ignore-missing[ignore missing files when refreshing the index]' \ '*--cacheinfo[insert information directly into the cache]: :_guard "[0-7]#" "octal file mode": :_guard "[[\:xdigit\:]]#" "object id":file:_files' \ - '(: -)--index-info[read index information from stdin.]' \ + '(: -)--index-info[read index information from stdin]' \ '--chmod=-[set the execute permissions on the updated files]:permission:((-x\:executable +x\:"not executable"))' \ '( --no-assume-unchanged)--assume-unchanged[set the "assume unchanged" bit for the given paths]' \ '(--assume-unchanged )--no-assume-unchanged[unset the "assume unchanged" bit for the given paths]' \ @@ -1865,7 +1865,7 @@ _git-log () { _arguments -S \ $revision_arguments \ '--source[show which ref each commit is reached from]' \ - '--decorate[print out ref names of any commits that are shown.]' \ + '--decorate[print out ref names of any commits that are shown]' \ '*:file-or-branch:->files' && ret=0 case $state in diff --git a/Completion/Unix/Command/_gnupod b/Completion/Unix/Command/_gnupod index cbcfc664d..f53ae6c59 100644 --- a/Completion/Unix/Command/_gnupod +++ b/Completion/Unix/Command/_gnupod @@ -8,31 +8,31 @@ case "$service" in '(-h --help)'{-h,--help}'[display help and exit]' --version'[output version information and exit]' '(-m --mount)'{-m,--mount=}'[iPod mountpoint, default is $IPOD_MOUNTPOINT]:mount point:_files' - '(-r --restore)'{-r,--restore}'[Restore the iPod (create a new GNUtunesDB from scratch)]' - '(-d --duplicate)'{-d,--duplicate}'[Allow duplicate files]' - '(-p --playlist)'{-p,--playlist=}'[Add songs to this playlist]:playlist:' - --playlist-is-podcast'[Set podcast flag for playlist(s) created using --playlist]' - --podcast-artwork'[Download and install artwork for podcasts from their channel.]' - --podcast-cache-dir='[Set a directory in which podcast media files will be cached.]:podcast cache dir:' - --podcast-files-limit='[Limit files to download (0 = all (default), -X = X oldest, X = X newest)]:podcast files limit:'. - --disable-v1'[Do not read ID3v1 Tags (MP3 Only)]' - --disable-v2'[Do not read ID3v2 Tags (MP3 Only)]' - '(-x --decode)'{-x,--decode=}'[Convert FLAC Files to WAVE/MP3 or AAC on-the-fly]:encoding:(pcm mp3 aac aacbm)' - --decode=video'[Convert .avi Files into iPod video on-the-fly]' - '(-e --reencode)'{-e,--reencode=}'[Reencode MP3/AAC files with new quality on-the-fly]:quality number (0 = Good 9 = Bad):(1 2 3 4 5 6 7 8 9)' - '(-t --set-title)'{-t,--set-title=}'[Set Title (Override ID3 Tag)]:title:' - '(-a --set-artist)'{-a,--set-artist=}'[Set Artist (Override ID3 Tag)]:artist:' - '(-l --set-album)'{-l,--set-album=}'[Set Album (Override ID3 Tag)]:album:' - '(-g --set-genre)'{-g,--set-genre=}'[Set Genre (Override ID3 Tag)]:genre:' - --set-rating='[Set Rating (0=-/20=*/40=**/60=***/80=****/100=*****)]:rating:(0 20 40 60 80 100)' - --set-playcount='[Set Playcount]:play count:' - --set-songnum='[Override Songnum/Tracknum field]:song number:' - '(-b --set-bookmarkable)'{-b,--set-bookmarkable}'[Set this song as bookmarkable (= Remember position)]' - --set-shuffleskip'[Exclude this file in shuffle-mode]' - --set-compilation'[Mark songs as being part of a compilation]' - --min-vol-adj='[Minimum volume adjustment allowed by ID3v2.4 RVA2 tag (range -100 to 100, default 0)]' - --max-vol-adj='[Maximum volume adjustment allowed by ID3v2.4 RVA2 tag (range -100 to 100, default 0)]' - --artwork='[Use FILE as album cover]:artwork:_files' + '(-r --restore)'{-r,--restore}'[restore the iPod (create a new GNUtunesDB from scratch)]' + '(-d --duplicate)'{-d,--duplicate}'[allow duplicate files]' + '(-p --playlist)'{-p,--playlist=}'[add songs to this playlist]:playlist:' + --playlist-is-podcast'[set podcast flag for playlist(s) created using --playlist]' + --podcast-artwork'[download and install artwork for podcasts from their channel]' + --podcast-cache-dir='[set a directory in which podcast media files will be cached]:podcast cache dir:' + --podcast-files-limit='[limit files to download (0 = all (default), -X = X oldest, X = X newest)]:podcast files limit:'. + --disable-v1'[do not read ID3v1 Tags (MP3 Only)]' + --disable-v2'[do not read ID3v2 Tags (MP3 Only)]' + '(-x --decode)'{-x,--decode=}'[convert FLAC Files to WAVE/MP3 or AAC on-the-fly]:encoding:(pcm mp3 aac aacbm)' + --decode=video'[convert .avi Files into iPod video on-the-fly]' + '(-e --reencode)'{-e,--reencode=}'[reencode MP3/AAC files with new quality on-the-fly]:quality number (0 = Good 9 = Bad):(1 2 3 4 5 6 7 8 9)' + '(-t --set-title)'{-t,--set-title=}'[set Title (Override ID3 Tag)]:title:' + '(-a --set-artist)'{-a,--set-artist=}'[set Artist (Override ID3 Tag)]:artist:' + '(-l --set-album)'{-l,--set-album=}'[set Album (Override ID3 Tag)]:album:' + '(-g --set-genre)'{-g,--set-genre=}'[set Genre (Override ID3 Tag)]:genre:' + --set-rating='[set Rating (0=-/20=*/40=**/60=***/80=****/100=*****)]:rating:(0 20 40 60 80 100)' + --set-playcount='[set Playcount]:play count:' + --set-songnum='[override Songnum/Tracknum field]:song number:' + '(-b --set-bookmarkable)'{-b,--set-bookmarkable}'[set this song as bookmarkable (= Remember position)]' + --set-shuffleskip'[exclude this file in shuffle-mode]' + --set-compilation'[mark songs as being part of a compilation]' + --min-vol-adj='[minimum volume adjustment allowed by ID3v2.4 RVA2 tag (range -100 to 100, default 0)]' + --max-vol-adj='[maximum volume adjustment allowed by ID3v2.4 RVA2 tag (range -100 to 100, default 0)]' + --artwork='[use FILE as album cover]:artwork:_files' '*:file to add:_files' ) ;; @@ -53,7 +53,7 @@ case "$service" in '(-m --mount)'{-m,--mount=}'[iPod mountpoint (default is $IPOD_MOUNTPOINT)]:mount point:_files' '(-d --disable-convert)'{-d,--disable-convert}'[do not try to convert an existing iTunesDB]' '(-f --france)'{-f,--france}'[limit volume to 100dB, works only on very old iPods]' - --noask'[Do not wait for any user input]' + --noask'[do not wait for any user input]' ) ;; @@ -76,7 +76,7 @@ case "$service" in --delete'[remove matched songs from the iPod]' --view='[modify output (default is ialt, see --help)]:output string:' --rename='[rename key into value for matched songs]:KEY=VALUE:' - --artwork='[Use FILE as Cover for found files]:artwork:_files' + --artwork='[use FILE as Cover for found files]:artwork:_files' ) ;; diff --git a/Completion/Unix/Command/_gnutls b/Completion/Unix/Command/_gnutls index b30408199..64f8e3cf5 100644 --- a/Completion/Unix/Command/_gnutls +++ b/Completion/Unix/Command/_gnutls @@ -26,8 +26,8 @@ _arguments \ "$_gnutls_cli_common_args[@]" \ '(-r --resume)'{-r,--resume}'[resume session]' \ '(-s --starttls)'{-s,--starttls}'[start TLS on EOF or SIGALRM]' \ - '--crlf[Send CR LF instead of LF]' \ - '--x509fmtder[Use DER format for certificates to read from]' \ + '--crlf[send CR LF instead of LF]' \ + '--x509fmtder[use DER format for certificates to read from]' \ '(-f --fingerprint)'{-f,--fingerprint}'[send the openpgp fingerprint instead of the key]' \ '--disable-extensions[disable all the TLS extensions]' \ '--xml[print the certificate information in XML format]' \ diff --git a/Completion/Unix/Command/_locate b/Completion/Unix/Command/_locate index 35dbf062a..0b35b7cdd 100644 --- a/Completion/Unix/Command/_locate +++ b/Completion/Unix/Command/_locate @@ -52,22 +52,22 @@ case $ltype in # -m and --mmap are ignored, so don't bother # -s and --stdio likewise _arguments -s -S : \ - {-b,--basename}'[Match only the basename of files in the database]' \ - {-c,--count}'[Output the number of matching entries]' \ - {-d,--database=}'[Use alternative database]:database:_files' \ - {-e,--existing}'[Restrict display to existing files]' \ - {-L,--follow}'[Follow symbolic links to find existing files (default)]' \ - {-h,--help}'[Show help]' \ - {-i,--ignore-case}'[Ignore case distinctions in patterns]' \ - {-l,-n,--limit=}'[Limit search results]:file limit: ' \ - {-P,-H,--nofollow}'[Don'\''t follow symbolic links]' \ - {-0,--null}'[Output separated by NUL characters]' \ - {-S,--statistics}'[Show database statistics]' \ - {-q,--quiet}'[Don'\''t report errors]' \ - {-r,--regexp=}'[Search for given basic regexp]:basic regexp: ' \ - --regex'[Patterns are extended regexps]' \ - {-V,--version}'[Show version]' \ - {-w,--wholename}'[Match entire file path (default)]' \ + {-b,--basename}'[match only the basename of files in the database]' \ + {-c,--count}'[output the number of matching entries]' \ + {-d,--database=}'[use alternative database]:database:_files' \ + {-e,--existing}'[restrict display to existing files]' \ + {-L,--follow}'[follow symbolic links to find existing files (default)]' \ + {-h,--help}'[show help]' \ + {-i,--ignore-case}'[ignore case distinctions in patterns]' \ + {-l,-n,--limit=}'[limit search results]:file limit: ' \ + {-P,-H,--nofollow}'[don'\''t follow symbolic links]' \ + {-0,--null}'[output separated by NUL characters]' \ + {-S,--statistics}'[show database statistics]' \ + {-q,--quiet}'[don'\''t report errors]' \ + {-r,--regexp=}'[search for given basic regexp]:basic regexp: ' \ + --regex'[patterns are extended regexps]' \ + {-V,--version}'[show version]' \ + {-w,--wholename}'[match entire file path (default)]' \ '*:pattern: ' ;; @@ -76,57 +76,57 @@ case $ltype in # -e can take a comma-separated list of directories. # -f should complete list of file system types like mount _arguments -s -S : \ - -u'[Create slocate database starting at path /]' \ - -U'[Create slocate database starting at given path]:directory:_files -/' \ - -c'[Parse GNU locate updatedb with -u, -U]' \ - -e'[Exclude directories with -u, -U]:directories:_files -/' \ - -f'[Exclude file system types from db with -u, -U]:file system:_file_systems' \ - -l'[Security level]:level:(0 1)' \ - -q'[Quiet mode]' \ - -n'[Limit search results]:file limit: ' \ - -i'[Case insensitive search]' \ - {-r,--regexp=}'[Use basic regular expression]:regexp: ' \ - {-o,--output=}'[Specify database to create]:database:_files' \ - {-d,--database=}'[Specify database to search]:database:_files' \ - {-h,--help}'[Display help]' \ - {-v,--verbose}'[Display files when creating database]' \ - {-V,--version}'[Display version]' \ + -u'[create slocate database starting at path /]' \ + -U'[create slocate database starting at given path]:directory:_files -/' \ + -c'[parse GNU locate updatedb with -u, -U]' \ + -e'[exclude directories with -u, -U]:directories:_files -/' \ + -f'[exclude file system types from db with -u, -U]:file system:_file_systems' \ + -l'[security level]:level:(0 1)' \ + -q'[quiet mode]' \ + -n'[limit search results]:file limit: ' \ + -i'[case insensitive search]' \ + {-r,--regexp=}'[use basic regular expression]:regexp: ' \ + {-o,--output=}'[specify database to create]:database:_files' \ + {-d,--database=}'[specify database to search]:database:_files' \ + {-h,--help}'[display help]' \ + {-v,--verbose}'[display files when creating database]' \ + {-V,--version}'[display version]' \ '*:pattern: ' ;; (gnu) _arguments -s : \ - {-d,--database=}'[Use alternative database]:database:_files' \ - {-e,--existing}'[Restrict display to existing files]' \ - {-E,--non-existing}'[Allow display of nonexistent files (default)]' \ - {-i,--ignore-case}'[Ignore case distinctions in patterns]' \ - {-w,--wholename}'[Match entire file path (default)]' \ - {-b,--basename}'[Match only the basename of files in the database]' \ - {-l,-n,--limit=}'[Limit search results]:file limit: ' \ - {-S,--statistics}'[Show database statistics]' \ - {-0,--null}'[Output separated by NUL characters]' \ - {-c,--count}'[Output the number of matching entries]' \ - {-P,-H,--nofollow}'[Don'\''t follow symbolic links]' \ - {-L,--follow}'[Follow symbolic links to find existing files (default)]' \ - {-A,-all}'[Match all arguments instead of at least one]' \ - {-p,--print}'[Include search results with statistics or count]' \ - {-r,--regex=}'[Patterns are regular expressions]:basic regexp: ' \ - --regextype='[Select type of regular expression]' \ - {-V,--version}'[Show version]' \ - --help'[Show help]' \ + {-d,--database=}'[use alternative database]:database:_files' \ + {-e,--existing}'[restrict display to existing files]' \ + {-E,--non-existing}'[allow display of nonexistent files (default)]' \ + {-i,--ignore-case}'[ignore case distinctions in patterns]' \ + {-w,--wholename}'[match entire file path (default)]' \ + {-b,--basename}'[match only the basename of files in the database]' \ + {-l,-n,--limit=}'[limit search results]:file limit: ' \ + {-S,--statistics}'[show database statistics]' \ + {-0,--null}'[output separated by NUL characters]' \ + {-c,--count}'[output the number of matching entries]' \ + {-P,-H,--nofollow}'[don'\''t follow symbolic links]' \ + {-L,--follow}'[follow symbolic links to find existing files (default)]' \ + {-A,-all}'[match all arguments instead of at least one]' \ + {-p,--print}'[include search results with statistics or count]' \ + {-r,--regex=}'[patterns are regular expressions]:basic regexp: ' \ + --regextype='[select type of regular expression]' \ + {-V,--version}'[show version]' \ + --help'[show help]' \ '*:pattern: ' ;; (bsd) _arguments -s -S -A '-*' \ - '(-S)-0[Separate file names by NUL characters]' \ - '(- *)-S[Show database statistics and exit]' \ - '(-S)-c[Output the number of matching file names]' \ - '(-S)*-d[Specify database to search]:database:_files' \ - '(-S)-i[Ignore case distinctions in pattern and database]' \ - '(-S)-l[Limit output to specified number of file names]:file limit: ' \ - '(-S)-m[Use mmap(2) instead of stdio(3) (default)]' \ - '(-S)-s[Use stdio(3) instead of mmap(2)]' \ + '(-S)-0[separate file names by NUL characters]' \ + '(- *)-S[show database statistics and exit]' \ + '(-S)-c[output the number of matching file names]' \ + '(-S)*-d[specify database to search]:database:_files' \ + '(-S)-i[ignore case distinctions in pattern and database]' \ + '(-S)-l[limit output to specified number of file names]:file limit: ' \ + '(-S)-m[use mmap(2) instead of stdio(3) (default)]' \ + '(-S)-s[use stdio(3) instead of mmap(2)]' \ '*:pattern: ' ;; esac diff --git a/Completion/Unix/Command/_module b/Completion/Unix/Command/_module index 65e29430a..c1c9f5c08 100644 --- a/Completion/Unix/Command/_module +++ b/Completion/Unix/Command/_module @@ -23,32 +23,32 @@ _module() local -a _module_cmds _module_cmds=( - "help:Print the usage of each sub-command" - "load:Load a module into the shell environment" - "add:Load a module into the shell environment" - "unload:Remove a module from the shell environment" - "rm:Remove a module from the shell environment" - "switch:Switch loaded a loaded module with another module" - "swap:Switch loaded a loaded module with another module" - "display:Display information about a module" - "show:Display information about a module" - "list:List loaded modules" - "avail:List all available modules" - "use:Add a directory to MODULEPATH" - "unuse:Remove a directory from MODULEPATH" - "update:Reload all loaded modules" - "clear:Clear loaded modules information" - "purge:Unload all loaded modules" - "refresh:Refresh all non-persistent components of loaded modules" - "whatis:Display module information" - "appropos:Search for a given keyword in modules" - "keyword:Search for a given keyword in modules" - "initadd:Add or append a module to the user's shell init file" - "initprepend:Add or prepend a module to the user's shell init files" - "initrm:Remove a module from the user's shell init file" - "initswitch:Switch modules in the user's shell init file" - "initlist:List all loaded modules in the user's shell init files" - "initclear:Clear all modules from the user's shell init files" + "help:print the usage of each sub-command" + "load:load a module into the shell environment" + "add:load a module into the shell environment" + "unload:remove a module from the shell environment" + "rm:remove a module from the shell environment" + "switch:switch loaded a loaded module with another module" + "swap:switch loaded a loaded module with another module" + "display:display information about a module" + "show:display information about a module" + "list:list loaded modules" + "avail:list all available modules" + "use:add a directory to MODULEPATH" + "unuse:remove a directory from MODULEPATH" + "update:reload all loaded modules" + "clear:clear loaded modules information" + "purge:unload all loaded modules" + "refresh:refresh all non-persistent components of loaded modules" + "whatis:display module information" + "appropos:search for a given keyword in modules" + "keyword:search for a given keyword in modules" + "initadd:add or append a module to the user's shell init file" + "initprepend:add or prepend a module to the user's shell init files" + "initrm:remove a module from the user's shell init file" + "initswitch:switch modules in the user's shell init file" + "initlist:list all loaded modules in the user's shell init files" + "initclear:clear all modules from the user's shell init files" ) if (( CURRENT == 1 )); then @@ -131,7 +131,7 @@ _module_available_modules() (( $+functions[_module_use] )) || _module_use() { _arguments -s \ - '(-a --append)'{--append,-a}'[Append the directories instead of prepending]' \ + '(-a --append)'{--append,-a}'[append the directories instead of prepending]' \ '*:directory:_files -/' } diff --git a/Completion/Unix/Command/_perforce b/Completion/Unix/Command/_perforce index 04482be6f..1f68a80ca 100644 --- a/Completion/Unix/Command/_perforce +++ b/Completion/Unix/Command/_perforce @@ -488,12 +488,12 @@ _perforce_gen_cmd_list() { # but let's at least check they're not already there. local -a unsup unsup=( - "attribute:Set attributes for open file (EXPERIMENTAL)" - "dbschema:Report meta database information" - "export:Rxtract journal or checkpoint records" - "interchanges:Report changes not yet integrated between branches" - "replicate:Poll for journal changes and apply to another server" - "spec:Allows limited changes to form specifications (admin)" + "attribute:set attributes for open file (EXPERIMENTAL)" + "dbschema:report meta database information" + "export:extract journal or checkpoint records" + "interchanges:report changes not yet integrated between branches" + "replicate:poll for journal changes and apply to another server" + "spec:allows limited changes to form specifications (admin)" ) for line in $unsup; do if [[ ${_perforce_cmd_list[(r)${line%%:*}:*]} = '' ]]; then @@ -2029,7 +2029,7 @@ _perforce_cmd_help() { fi done if [[ -z ${_perforce_help_list[(r)undoc:*]} ]]; then - _perforce_help_list+=("undoc:Help for otherwise undocumented features") + _perforce_help_list+=("undoc:help for otherwise undocumented features") fi fi _describe -t help-options 'Perforce help option' _perforce_help_list diff --git a/Completion/Unix/Command/_pkgadd b/Completion/Unix/Command/_pkgadd index 042cc79a1..7adc18a2a 100644 --- a/Completion/Unix/Command/_pkgadd +++ b/Completion/Unix/Command/_pkgadd @@ -2,30 +2,30 @@ _pkgadd_pass() { _values -S : 'password descriptor' \ - '(file env console)pass[Literal password]:password:' \ - '(pass file console)env[Environment variable]:environment:_parameters -g "*export*"' \ - '(pass env console)file[File]:file:_files' \ - '(pass env file)console[From /dev/tty]' + '(file env console)pass[literal password]:password:' \ + '(pass file console)env[environment variable]:environment:_parameters -g "*export*"' \ + '(pass env console)file[file]:file:_files' \ + '(pass env file)console[from /dev/tty]' } _pkgadd() { _arguments -s \ - '-d[Device]:device file:_files' \ + '-d[device]:device file:_files' \ '-x[HTTP(S) proxy]:HTTP proxy: ' \ - '-k[Keystore]:keystore:_files' \ - '-P[Password to decrypt keystore]:password:_pkgadd_pass' \ - '-Y[Select packages by category]:category: ' \ + '-k[keystore]:keystore:_files' \ + '-P[password to decrypt keystore]:password:_pkgadd_pass' \ + '-Y[select packages by category]:category: ' \ - set1 \ - '-n[Non-interactive mode]' \ - '-v[Trace all scripts]' \ - '-a[Admin file]:admin file:_files' \ - "-M[Don't use vfstab file]" \ - '-R[Root path]:root path:_files -/' \ - '-r[Response file]:response file:_files' \ - '-V[Alternate vfstab file]:vfstab file:_files' \ + '-n[non-interactive mode]' \ + '-v[trace all scripts]' \ + '-a[admin file]:admin file:_files' \ + "-M[don't use vfstab file]" \ + '-R[root path]:root path:_files -/' \ + '-r[response file]:response file:_files' \ + '-V[alternate vfstab file]:vfstab file:_files' \ '*:package instance:_pkg_instance --_opts uninstalled:-d' \ - set2 \ - '-s[Spool package]:spool directory:_files -/' \ + '-s[spool package]:spool directory:_files -/' \ '*:package instance:_pkg_instance --_opts uninstalled:-d' } diff --git a/Completion/Unix/Command/_pkginfo b/Completion/Unix/Command/_pkginfo index 0253ab3e3..6c71082ef 100644 --- a/Completion/Unix/Command/_pkginfo +++ b/Completion/Unix/Command/_pkginfo @@ -2,20 +2,20 @@ _pkginfo() { _arguments -s \ - '(-q -r -x)-l[Long listing]' \ - '(-l -r -x)-q[Quiet mode]' \ - '(-l -q -x)-r[Relocation base]' \ - '(-l -q -r)-x[Extracted listing]' \ - '-c[Category]:category: ' \ - '-a[Architecture]:architecture: ' \ - '-v[Version]:version: ' \ + '(-q -r -x)-l[long listing]' \ + '(-l -r -x)-q[quiet mode]' \ + '(-l -q -x)-r[relocation base]' \ + '(-l -q -r)-x[extracted listing]' \ + '-c[category]:category: ' \ + '-a[architecture]:architecture: ' \ + '-v[version]:version: ' \ - set1 \ - '(-p)-i[Select completely installed packages]' \ - '(-i)-p[Select partially installed packages]' \ - '-R[Root path]:root path:_files -/' \ + '(-p)-i[select completely installed packages]' \ + '(-i)-p[select partially installed packages]' \ + '-R[root path]:root path:_files -/' \ '*:package instance:_pkg_instance --_opts installed:set1--R' \ - set2 \ - '-d[Device]:device file:_files' \ + '-d[device]:device file:_files' \ '*:package instance:_pkg_instance --_opts uninstalled:set2--d' } diff --git a/Completion/Unix/Command/_pkgrm b/Completion/Unix/Command/_pkgrm index 4edccbfda..25a950221 100644 --- a/Completion/Unix/Command/_pkgrm +++ b/Completion/Unix/Command/_pkgrm @@ -2,18 +2,18 @@ _pkgrm() { _arguments -s \ - '-Y[Select packages by category]:category: ' \ + '-Y[select packages by category]:category: ' \ - set1 \ - '-n[Non-interactive mode]' \ - '-v[Trace all scripts]' \ - '-a[Admin file]:admin file:_files' \ - "-A[Force removal of all files]" \ - "-M[Don't use vfstab file]" \ - '-R[Root path]:root path:_files -/' \ - '-V[Alternate vfstab file]:vfstab file:_files' \ + '-n[non-interactive mode]' \ + '-v[trace all scripts]' \ + '-a[admin file]:admin file:_files' \ + "-A[force removal of all files]" \ + "-M[don't use vfstab file]" \ + '-R[root path]:root path:_files -/' \ + '-V[alternate vfstab file]:vfstab file:_files' \ '*:package instance:_pkg_instance --_opts installed:set1--R' \ - set2 \ - '-s[Spool package]:spool directory:_files -/' \ + '-s[spool package]:spool directory:_files -/' \ '*:package instance:_pkg_instance --_opts spooled:set2--s' } diff --git a/Completion/Unix/Command/_sisu b/Completion/Unix/Command/_sisu index 36bba65d9..d3d53275b 100644 --- a/Completion/Unix/Command/_sisu +++ b/Completion/Unix/Command/_sisu @@ -39,7 +39,7 @@ _arguments -s -C -M 'r:|[_-]=* r:|=*' \ '(--convert --to -C)-X[XML dom style]' \ '(--convert --to -C)-x[XML sax style]' \ '(--convert --to -C)-y[output summary page, manifest of existing generated output]' \ - '(--convert --to -C)-Z[Zap delete/destroy output]' \ + '(--convert --to -C)-Z[zap delete/destroy output]' \ '--import[-\[Dd\] imports document to database]' \ '--update[-\[Dd\] updates document in database]' \ '--remove[-\[Dd\] removes document from database]' \ diff --git a/Completion/Unix/Command/_sqsh b/Completion/Unix/Command/_sqsh index e43782839..f41ab5bf8 100644 --- a/Completion/Unix/Command/_sqsh +++ b/Completion/Unix/Command/_sqsh @@ -15,37 +15,37 @@ _sybase_server() { } _arguments : \ - '-A[Adjust TDS packet size (512)]:packet size (bytes):(512 1024 1536 2048)' \ - '-B[Turn off file buffering on startup]' \ - '-C[Send sql statment to server]:sql' \ - '-D[Change database context on startup]:database' \ - '-E[Replace default editor (vi)]:editor' \ - '-H[Set the client hostname]:reported hostname' \ - '-I[Alternate interfaces file]:interface file:_files' \ - '-J[Client character set]:charset' \ - '*-L[Set the value of a given variable]:variable=value' \ + '-A[adjust TDS packet size (512)]:packet size (bytes):(512 1024 1536 2048)' \ + '-B[turn off file buffering on startup]' \ + '-C[send sql statment to server]:sql' \ + '-D[change database context on startup]:database' \ + '-E[replace default editor (vi)]:editor' \ + '-H[set the client hostname]:reported hostname' \ + '-I[alternate interfaces file]:interface file:_files' \ + '-J[client character set]:charset' \ + '*-L[set the value of a given variable]:variable=value' \ '-P[Sybase password (NULL)]:password' \ - '-S[Name of Sybase server (\$DSQUERY)]:_sybase_server' \ - '-U[Name of Sybase user]:username' \ - '-X[Enable client password encryption]' \ - '-a[Max. # of errors before abort]:number' \ - '-b[Suppress banner message on startup]' \ - '*-c[Alias for the ''go'' command]:go alias' \ - '-d[Min. severity level to display]:severity level (0-22)' \ - '-e[Echo batch prior to executing]' \ - '-f[Min. severity level for failure]:failure severity' \ - '-h[Disable headers and footers]' \ - '-i[Read input from file]:_files' \ - '-k[Specify alternate keywords file]:_files' \ - '-l[Set debugging level]' \ - '-m[Set display mode (normal)]:display style:(horiz vert bcp html meta pretty none)' \ - '-n[Set chained transaction mode]:chained transaction mode:(on off)' \ - '-o[Direct all output to file]:_files' \ - '-p[Display performance stats]' \ - '-r[Specify name of .sqshrc]:_files' \ - '-s[Alternate column separator (\t)]:column separator' \ - '-t[Filter batches through program]:filter program:_files -g "*(*)"' \ - '-v[Display current version and exit]' \ - '-w[Adjust result display width]:number' \ - '-y[Override value of $SYBASE]:_directories' \ - '-z[Alternate display language]:language' + '-S[name of Sybase server (\$DSQUERY)]:_sybase_server' \ + '-U[name of Sybase user]:username' \ + '-X[enable client password encryption]' \ + '-a[max. # of errors before abort]:number' \ + '-b[suppress banner message on startup]' \ + '*-c[alias for the ''go'' command]:go alias' \ + '-d[min. severity level to display]:severity level (0-22)' \ + '-e[echo batch prior to executing]' \ + '-f[min. severity level for failure]:failure severity' \ + '-h[disable headers and footers]' \ + '-i[read input from file]:_files' \ + '-k[specify alternate keywords file]:_files' \ + '-l[set debugging level]' \ + '-m[set display mode (normal)]:display style:(horiz vert bcp html meta pretty none)' \ + '-n[set chained transaction mode]:chained transaction mode:(on off)' \ + '-o[direct all output to file]:_files' \ + '-p[display performance stats]' \ + '-r[specify name of .sqshrc]:_files' \ + '-s[alternate column separator (\t)]:column separator' \ + '-t[filter batches through program]:filter program:_files -g "*(*)"' \ + '-v[display current version and exit]' \ + '-w[adjust result display width]:number' \ + '-y[override value of $SYBASE]:_directories' \ + '-z[alternate display language]:language' diff --git a/Completion/Unix/Command/_surfraw b/Completion/Unix/Command/_surfraw index 89da0b8e5..0307555a9 100644 --- a/Completion/Unix/Command/_surfraw +++ b/Completion/Unix/Command/_surfraw @@ -65,13 +65,13 @@ case $state in ;; ctan) _arguments $args \ - '-name[Search by filename]' \ - '-desc[Search descriptions (default)]'\ - '-doc[Search documentation]' + '-name[search by filename]' \ + '-desc[search descriptions (default)]'\ + '-doc[search documentation]' ;; currency) _arguments \ - '-l[List all known currency symbols]' \ + '-l[list all known currency symbols]' \ '-from=-:currency symbol:(EUR USD GBP CAD AUD JPY INR NZD CHF ZAR)' \ '-to=-:currency symbol:(EUR USD GBP CAD AUD JPY INR NZD CHF ZAR)' \ '*:currency amount' && ret=0 @@ -155,8 +155,8 @@ case $state in ;; debpackages) _arguments \ - '-release=-:Search release:(all main non-US contrib non-free)' \ - '-distro=-:Search distribution:(all stable testing unstable)' \ + '-release=-:search release:(all main non-US contrib non-free)' \ + '-distro=-:search distribution:(all stable testing unstable)' \ '*:package:_deb_packages avail' && ret=0 ;; debpts) @@ -230,9 +230,9 @@ case $state in ;; gutenberg) _arguments $args \ - '-title[Search titles (default)]' - '-author[Search authors]' - '-num[Search etext numbers]' + '-title[search titles (default)]' + '-author[search authors]' + '-num[search etext numbers]' ;; imdb) _arguments $args \ @@ -256,11 +256,11 @@ case $state in _arguments \ '-tol=:special character tolerance:(off standard high)' \ '-to=:language:(de en either)' \ - '-lang=:Webpage is in this language:(en de)' \ - '-link=:Link results:(on off)' \ - '-head=:Display headlines:(on off)' \ - '-grid=:Show results in grid:(on off)' \ - '-spell=:Spelling tolerance:(off standard force)' \ + '-lang=:webpage is in this language:(en de)' \ + '-link=:link results:(on off)' \ + '-head=:display headlines:(on off)' \ + '-grid=:show results in grid:(on off)' \ + '-spell=:spelling tolerance:(off standard force)' \ '*:dictionary word:->dictword' && ret=0 [[ "$state" = dictword ]] && _wanted words expl 'dictionary word' \ @@ -274,7 +274,7 @@ case $state in pgpkeys) _arguments \ '-s[display key signatures]' \ - '*:KeyID or email' && ret=0 + '*:key ID or email' && ret=0 ;; pubmed) _arguments $args \ @@ -387,19 +387,19 @@ case $state in ;; wayback) _arguments $args \ - '-syear=-[Start search from this year]:year' \ - '-smonth=-:[Start search from this month]:month:(jan feb mar apr may jun jul aug sep oct nov dec)' \ - '-sday=-[Start search from this day]:number' \ - '-eyear=-[End search in this year]:year' \ - '-emonth=-[End search in this month]:month:(jan feb mar apr may jun jul aug sep oct nov dec)' \ - '-eday=-[End search in this day]:number' \ - '-list[List all pages that match search criteria]' \ - '-dups[Show dups]' \ - '-compare[Compare pages]' \ - '-pdf[Show as PDF]' \ - '-alias=-[How to handle site aliases]:alias:(merge show hide)' \ - '-redir=-[How to handle redirections]:redir:(hide flag show)' \ - '-type=-[File type to search for]:type:(image audio video binary text pdf)' + '-syear=-[start search from this year]:year' \ + '-smonth=-:[start search from this month]:month:(jan feb mar apr may jun jul aug sep oct nov dec)' \ + '-sday=-[start search from this day]:number' \ + '-eyear=-[end search in this year]:year' \ + '-emonth=-[end search in this month]:month:(jan feb mar apr may jun jul aug sep oct nov dec)' \ + '-eday=-[end search in this day]:number' \ + '-list[list all pages that match search criteria]' \ + '-dups[show dups]' \ + '-compare[compare pages]' \ + '-pdf[show as PDF]' \ + '-alias=-[how to handle site aliases]:alias:(merge show hide)' \ + '-redir=-[how to handle redirections]:redir:(hide flag show)' \ + '-type=-[file type to search for]:type:(image audio video binary text pdf)' ;; wetandwild) _arguments \ diff --git a/Completion/Unix/Command/_tcpdump b/Completion/Unix/Command/_tcpdump index 015cd8651..edc6c7306 100644 --- a/Completion/Unix/Command/_tcpdump +++ b/Completion/Unix/Command/_tcpdump @@ -46,47 +46,47 @@ _bpf_filter () { } _arguments \ - '()-A[Print each packet in ASCII]' \ - -c'[Exit after receiving specified number of packets]:number of packets' \ - -C'[Specify output file size in MB (10e6 bytes)]:output file size' \ - '(-ddd)-d[Dump the compiled packet-matching code in a human readable form]' \ - '(-ddd)-dd[Dump packet-matching code as a C program fragment]' \ - '(-d -dd)-ddd[Dump packet-matching code as decimal numbers (preceded with a count)]' \ - '(-A -c -C -d -dd -ddd -e -E -f -F -i -l -L -m -M -n -N -O -p -q -R -r -S -s -T -t -tt -ttt -tttt -u -U -v -vv -vvv -w -W -x -xx -X -XX -y -Z *)'-D'[Print the list of the network interfaces available on the system]' \ - -e'[Print the link-level header on each dump line]' \ - -E"[Decrypting IPsec ESP packets]:spi@ipaddr::algo\:secret:_esp_secrets" \ - -f"[Print 'foreign' IPv4 addresses numerically]" \ + '()-A[print each packet in ASCII]' \ + -c'[exit after receiving specified number of packets]:number of packets' \ + -C'[specify output file size in MB (10e6 bytes)]:output file size' \ + '(-ddd)-d[dump the compiled packet-matching code in a human readable form]' \ + '(-ddd)-dd[dump packet-matching code as a C program fragment]' \ + '(-d -dd)-ddd[dump packet-matching code as decimal numbers (preceded with a count)]' \ + '(-A -c -C -d -dd -ddd -e -E -f -F -i -l -L -m -M -n -N -O -p -q -R -r -S -s -T -t -tt -ttt -tttt -u -U -v -vv -vvv -w -W -x -xx -X -XX -y -Z *)'-D'[print the list of the network interfaces available on the system]' \ + -e'[print the link-level header on each dump line]' \ + -E"[decrypting IPsec ESP packets]:spi@ipaddr::algo\:secret:_esp_secrets" \ + -f"[print 'foreign' IPv4 addresses numerically]" \ -F'[input file for the filter expression]:filter expression file:_files' \ - -i'[Interface]:interface:_interfaces' \ - -l'[Make stdout line buffered]' \ - '(-A -c -C -d -dd -ddd -e -E -f -F -l -D -m -M -n -N -O -p -q -R -r -S -s -T -t -tt -ttt -tttt -u -U -v -vv -vvv -w -W -x -xx -X -XX -y -Z *)'-L'[List the known data link types for the interface]' \ - '*-m[Load SMI MIB module definitions]:SMI MIB module definitions:_files' \ + -i'[interface]:interface:_interfaces' \ + -l'[make stdout line buffered]' \ + '(-A -c -C -d -dd -ddd -e -E -f -F -l -D -m -M -n -N -O -p -q -R -r -S -s -T -t -tt -ttt -tttt -u -U -v -vv -vvv -w -W -x -xx -X -XX -y -Z *)'-L'[list the known data link types for the interface]' \ + '*-m[load SMI MIB module definitions]:SMI MIB module definitions:_files' \ -M'[shared secret for validating the digests in TCP segments with the TCP-MD5 option]:secret' \ - -n"[Don't convert addresses to names]" \ - -N"[Don't print domain name qualification of host names]" \ - -O"[Don't run the packet-matching code optimizer]" \ - -p"[Don't put the interface into promiscuous mode]" \ - -q'[Quick (quiet?) output]' \ - -R'[Assume ESP/AH packets to be based on old specification (RFC1825 to RFC1829)]' \ - -r'[Read packets from file]:input file:_files' \ - -S'[Print absolute TCP sequence numbers]' \ - -s'[Specify number of bytes of data to snarf from each packet]:number of bytes to snap' \ - -T'[Interpret captured packets as specified type]:packet type:_packet_types' \ - "(-tttt)-t[Don't print a timestamp on each dump line]" \ - '(-ttt -tttt)-tt[Print an unformatted timestamp on each dump line]' \ - '(-tt -tttt)-ttt[Print a delta (in micro-seconds) between current and previous line on each dump line]' \ - '(-t -tt -ttt)-tttt[Print a timestamp in default format proceeded by date on each dump line]' \ - -u'[Print undecoded NFS handles]' \ - -U'[Make output packet-buffered when saving to file (-w)]' \ + -n"[don't convert addresses to names]" \ + -N"[don't print domain name qualification of host names]" \ + -O"[don't run the packet-matching code optimizer]" \ + -p"[don't put the interface into promiscuous mode]" \ + -q'[quick (quiet?) output]' \ + -R'[assume ESP/AH packets to be based on old specification (RFC1825 to RFC1829)]' \ + -r'[read packets from file]:input file:_files' \ + -S'[print absolute TCP sequence numbers]' \ + -s'[specify number of bytes of data to snarf from each packet]:number of bytes to snap' \ + -T'[interpret captured packets as specified type]:packet type:_packet_types' \ + "(-tttt)-t[don't print a timestamp on each dump line]" \ + '(-ttt -tttt)-tt[print an unformatted timestamp on each dump line]' \ + '(-tt -tttt)-ttt[print a delta (in micro-seconds) between current and previous line on each dump line]' \ + '(-t -tt -ttt)-tttt[print a timestamp in default format proceeded by date on each dump line]' \ + -u'[print undecoded NFS handles]' \ + -U'[make output packet-buffered when saving to file (-w)]' \ '(-vvv)-v[slightly more verbose output]' \ '(-vvv)-vv[more verbose output]' \ '(-v -vv)-vvv[most verbose output]' \ - -w'[Write the raw packets to file]:output file:_files' \ - -W'[Limit the number of created files (-C)]:number of files' \ - -x'[Print each packet (minus its link level header) in hex]' \ - '(-x)-xx[Print each packet, including its link level header, in hex]' \ - -X'[Print each packet (minus its link level header) in hex and ASCII]' \ - '(-X)-XX[Print each packet, including its link level header, in hex and ASCII]' \ - -y'[Set the data link type to use while capturing packets]:data link type:_data_link_types' \ - -Z'[Drops privileges (if root) and changes user ID (along with primary group)]:user:_users' \ + -w'[write the raw packets to file]:output file:_files' \ + -W'[limit the number of created files (-C)]:number of files' \ + -x'[print each packet (minus its link level header) in hex]' \ + '(-x)-xx[print each packet, including its link level header, in hex]' \ + -X'[print each packet (minus its link level header) in hex and ASCII]' \ + '(-X)-XX[print each packet, including its link level header, in hex and ASCII]' \ + -y'[set the data link type to use while capturing packets]:data link type:_data_link_types' \ + -Z'[drops privileges (if root) and changes user ID (along with primary group)]:user:_users' \ '*:BPF filter:_bpf_filter' diff --git a/Completion/Unix/Command/_tmux b/Completion/Unix/Command/_tmux index 30e395e62..f2507491f 100644 --- a/Completion/Unix/Command/_tmux +++ b/Completion/Unix/Command/_tmux @@ -154,9 +154,9 @@ function _tmux-attach-session() { local -a args args=( - '-d[Detach other clients attached to target session]' - '-r[Put the client into read-only mode]' - '-t[Choose a target session]:target session:__tmux-sessions' + '-d[detach other clients attached to target session]' + '-r[put the client into read-only mode]' + '-t[choose a target session]:target session:__tmux-sessions' ) _arguments ${args} } @@ -167,10 +167,10 @@ function _tmux-bind-key() { local -a args args=( - '-c[Bind to command mode instead of normal mode]' - '-n[Make the binding work without the need for the prefix key]' - '-r[The key may repeat]' - '-t[Choose a key table for the binding]:key tables:__tmux-key-tables' + '-c[bind to command mode instead of normal mode]' + '-n[make the binding work without the need for the prefix key]' + '-r[the key may repeat]' + '-t[choose a key table for the binding]:key tables:__tmux-key-tables' '1: :->key' '*:: :->command_and_args' ) @@ -188,8 +188,8 @@ function _tmux-break-pane() { [[ -n ${tmux_describe} ]] && print "Break a pane from an existing into a new window" && return local -a args args=( - '-d[Do not make the new window become the active one]' - '-t[Choose a target pane]:panes:__tmux-panes' + '-d[do not make the new window become the active one]' + '-t[choose a target pane]:panes:__tmux-panes' ) _arguments ${args} } @@ -198,8 +198,8 @@ function _tmux-capture-pane() { [[ -n ${tmux_describe} ]] && print "Capture the contents of a pane to a buffer" && return local -a args args=( - '-b[Choose target buffer]:target buffer:__tmux-buffers' - '-t[Choose source pane]:source pane:__tmux-panes' + '-b[choose target buffer]:target buffer:__tmux-buffers' + '-t[choose source pane]:source pane:__tmux-panes' ) _arguments ${args} } @@ -222,14 +222,14 @@ function _tmux-choose-window() { function _tmux-clear-history() { [[ -n ${tmux_describe} ]] && print "Remove and clear history for a pane" && return local -a args - args=('-t[Choose a target pane]:panes:__tmux-panes') + args=('-t[choose a target pane]:panes:__tmux-panes') _arguments ${args} } function _tmux-clock-mode() { [[ -n ${tmux_describe} ]] && print "Enter clock mode" && return local -a args - args=('-t[Choose a target pane]:panes:__tmux-panes') + args=('-t[choose a target pane]:panes:__tmux-panes') _arguments ${args} } @@ -238,8 +238,8 @@ function _tmux-command-prompt() { local state local -a args args=( - '-p[List of prompts]:prompts:->plist' - '-t[Choose a target client]:clients:__tmux-clients' + '-p[list of prompts]:prompts:->plist' + '-t[choose a target client]:clients:__tmux-clients' '*:: :->tmpl' ) _arguments -C ${args} && return @@ -255,7 +255,7 @@ function _tmux-confirm-before() { local state local -a args args=( - '-t[Choose a target client]:clients:__tmux-clients' + '-t[choose a target client]:clients:__tmux-clients' '*:: :->command_and_args' ) _arguments -C ${args} && return @@ -269,10 +269,10 @@ function _tmux-copy-buffer() { local -ax bopts args=( - '-a[Choose a source buffer index]:buffer:->srcbuf' - '-b[Choose a destination buffer index]:buffer:->dstbuf' - '-s[Choose a source session]:session:->srcsession' - '-t[Choose a destination session]:session:->dstsession' + '-a[choose a source buffer index]:buffer:->srcbuf' + '-b[choose a destination buffer index]:buffer:->dstbuf' + '-s[choose a source session]:session:->srcsession' + '-t[choose a destination session]:session:->dstsession' ) _arguments ${args} @@ -301,8 +301,8 @@ function _tmux-copy-mode() { [[ -n ${tmux_describe} ]] && print "Enter copy mode" && return local -a args args=( - '-t[Choose a target pane]:panes:__tmux-panes' - '-u[Scroll up one page]' + '-t[choose a target pane]:panes:__tmux-panes' + '-u[scroll up one page]' ) _arguments ${args} } @@ -314,8 +314,8 @@ function _tmux-delete-buffer() { local -ax bopts args=( - '-b[Choose a target buffer index]:panes:->buffer' - '-t[Choose a target session]:panes:->session' + '-b[choose a target buffer index]:panes:->buffer' + '-t[choose a target session]:panes:->session' ) _arguments ${args} @@ -341,7 +341,7 @@ function _tmux-delete-buffer() { function _tmux-detach-client() { [[ -n ${tmux_describe} ]] && print "Detach a client from the server" && return local -a args - args=('-t[Choose a target client]:clients:__tmux-clients') + args=('-t[choose a target client]:clients:__tmux-clients') _arguments ${args} } @@ -349,8 +349,8 @@ function _tmux-display-message() { [[ -n ${tmux_describe} ]] && print "Display a message in the status line" && return local -a args args=( - '-p[Print message to stdout]' - '-t[Choose a target client]:clients:__tmux-clients' + '-p[print message to stdout]' + '-t[choose a target client]:clients:__tmux-clients' '*:: :->msg' ) _arguments ${args} && return @@ -360,14 +360,14 @@ function _tmux-display-message() { function _tmux-display-panes() { [[ -n ${tmux_describe} ]] && print "Display an indicator for each visible pane" && return local -a args - args=('-t[Choose a target client]:clients:__tmux-clients') + args=('-t[choose a target client]:clients:__tmux-clients') _arguments ${args} } function _tmux-down-pane() { [[ -n ${tmux_describe} ]] && print "Move down a pane" && return local -a args - args=('-t[Choose a target pane]:panes:__tmux-panes') + args=('-t[choose a target pane]:panes:__tmux-panes') _arguments ${args} } @@ -376,7 +376,7 @@ function _tmux-find-window() { local curcontext="${curcontext}" state local -a args args=( - '-t[Choose a target window]:windows:__tmux-windows' + '-t[choose a target window]:windows:__tmux-windows' '*:: :->pattern' ) _arguments ${args} && return @@ -386,7 +386,7 @@ function _tmux-find-window() { function _tmux-has-session() { [[ -n ${tmux_describe} ]] && print "Check and report if a session exists on the server" && return local -a args - args=('-t[Choose a target session]:sessions:__tmux-sessions') + args=('-t[choose a target session]:sessions:__tmux-sessions') _arguments ${args} } @@ -404,13 +404,13 @@ function _tmux-join-pane() { [[ -n ${tmux_describe} ]] && print "Split a pane and move an existing one into the new space" && return local -a args args=( - '-d[Do not make the new window become the active one]' - '-h[Split horizontally]' - '-v[Split vertically]' - '-l[Define new pane'\''s size]: :_guard "[0-9]#" "numeric value"' - '-p[Define new pane'\''s size in percent]: :_guard "[0-9]#" "numeric value"' - '-s[Choose source pane]:window:__tmux-panes' - '-t[Choose target pane]:window:__tmux-panes' + '-d[do not make the new window become the active one]' + '-h[split horizontally]' + '-v[split vertically]' + '-l[define new pane'\''s size]: :_guard "[0-9]#" "numeric value"' + '-p[define new pane'\''s size in percent]: :_guard "[0-9]#" "numeric value"' + '-s[choose source pane]:window:__tmux-panes' + '-t[choose target pane]:window:__tmux-panes' ) _arguments ${args} && return } @@ -419,8 +419,8 @@ function _tmux-kill-pane() { [[ -n ${tmux_describe} ]] && print "Destroy a given pane" && return local -a args args=( - '-a[Kill all panes, except current]' - '-t[Choose a target pane]:panes:__tmux-panes' + '-a[kill all panes, except current]' + '-t[choose a target pane]:panes:__tmux-panes' ) _arguments ${args} } @@ -433,21 +433,21 @@ function _tmux-kill-server() { function _tmux-kill-session() { [[ -n ${tmux_describe} ]] && print "Destroy a given session" && return local -a args - args=('-t[Choose a target session]:sessions:__tmux-sessions') + args=('-t[choose a target session]:sessions:__tmux-sessions') _arguments ${args} } function _tmux-kill-window() { [[ -n ${tmux_describe} ]] && print "Destroy a given window" && return local -a args - args=('-t[Choose a target window]:windows:__tmux-windows') + args=('-t[choose a target window]:windows:__tmux-windows') _arguments ${args} } function _tmux-last-window() { [[ -n ${tmux_describe} ]] && print "Select the previously selected window" && return local -a args - args=('-t[Choose a session]:sessions:__tmux-sessions') + args=('-t[choose a session]:sessions:__tmux-sessions') _arguments ${args} && return } @@ -455,10 +455,10 @@ function _tmux-link-window() { [[ -n ${tmux_describe} ]] && print "Link a window to another" && return local -a args args=( - '-d[Do not make the new window become the active one]' - '-k[Kill the target window if it exists]' - '-s[Choose source window]:window:__tmux-windows' - '-t[Choose destination window]:window:__tmux-windows' + '-d[do not make the new window become the active one]' + '-k[kill the target window if it exists]' + '-s[choose source window]:window:__tmux-windows' + '-t[choose destination window]:window:__tmux-windows' ) _arguments ${args} } @@ -466,7 +466,7 @@ function _tmux-link-window() { function _tmux-list-buffers() { [[ -n ${tmux_describe} ]] && print "List paste buffers of a session" && return local -a args - args=('-t[Choose a session]:sessions:__tmux-sessions') + args=('-t[choose a session]:sessions:__tmux-sessions') _arguments ${args} && return } @@ -483,14 +483,14 @@ function _tmux-list-commands() { function _tmux-list-keys() { [[ -n ${tmux_describe} ]] && print "List all key-bindings" && return local -a args - args=('-t[Choose a key table]:key table:__tmux-key-tables') + args=('-t[choose a key table]:key table:__tmux-key-tables') _arguments ${args} && return } function _tmux-list-panes() { [[ -n ${tmux_describe} ]] && print "List panes of a window" && return local -a args - args=('-t[Choose a window]:windows:__tmux-windows') + args=('-t[choose a window]:windows:__tmux-windows') _arguments ${args} && return } @@ -502,7 +502,7 @@ function _tmux-list-sessions() { function _tmux-list-windows() { [[ -n ${tmux_describe} ]] && print "List windows of a session" && return local -a args - args=('-t[Choose a session]:sessions:__tmux-sessions') + args=('-t[choose a session]:sessions:__tmux-sessions') _arguments ${args} && return } @@ -513,8 +513,8 @@ function _tmux-load-buffer() { local -ax bopts args=( - '-b[Choose a target buffer index]:panes:->buffer' - '-t[Choose a target session]:panes:->session' + '-b[choose a target buffer index]:panes:->buffer' + '-t[choose a target session]:panes:->session' '1:file name:_files -g "*(-.)"' ) _arguments ${args} @@ -541,7 +541,7 @@ function _tmux-load-buffer() { function _tmux-lock-client() { [[ -n ${tmux_describe} ]] && print "Lock a client" && return local -a args - args=('-t[Choose a client]:clients:__tmux-clients') + args=('-t[choose a client]:clients:__tmux-clients') _arguments ${args} && return } @@ -553,7 +553,7 @@ function _tmux-lock-server() { function _tmux-lock-session() { [[ -n ${tmux_describe} ]] && print "Lock all clients attached to a session" && return local -a args - args=('-t[Choose a session]:sessions:__tmux-sessions') + args=('-t[choose a session]:sessions:__tmux-sessions') _arguments ${args} && return } @@ -561,9 +561,9 @@ function _tmux-move-window() { [[ -n ${tmux_describe} ]] && print "Move a window to another" && return local -a args args=( - '-d[Do not make the new window become the active one]' - '-s[Choose source window]:window:__tmux-windows' - '-t[Choose destination window]:window:__tmux-windows' + '-d[do not make the new window become the active one]' + '-s[choose source window]:window:__tmux-windows' + '-t[choose destination window]:window:__tmux-windows' ) _arguments ${args} } @@ -572,10 +572,10 @@ function _tmux-new-session() { [[ -n ${tmux_describe} ]] && print "Create a new session" && return local -a args args=( - '-d[Attach the new session the current terminal]' - '-n[Name the initial window]:window name' - '-s[Name the session]:session name' - '-t[Specify target session]:sessions:__tmux-sessions' + '-d[attach the new session the current terminal]' + '-n[name the initial window]:window name' + '-s[name the session]:session name' + '-t[specify target session]:sessions:__tmux-sessions' '*:: :_command' ) _arguments ${args} @@ -585,10 +585,10 @@ function _tmux-new-window() { [[ -n ${tmux_describe} ]] && print "Create a new window" && return local -a args args=( - '-d[Do not make the new window become the active one]' - '-k[Destroy it if the specified window exists]' - '-n[Specify a window name]:window name:' - '-t[Specify target window]:windows:__tmux-windows' + '-d[do not make the new window become the active one]' + '-k[destroy it if the specified window exists]' + '-n[specify a window name]:window name:' + '-t[specify target window]:windows:__tmux-windows' '*:: :_command' ) _arguments ${args} @@ -597,7 +597,7 @@ function _tmux-new-window() { function _tmux-next-layout() { [[ -n ${tmux_describe} ]] && print "Move a window to the next layout" && return local -a args - args=('-t[Choose target window]:window:__tmux-windows') + args=('-t[choose target window]:window:__tmux-windows') _arguments ${args} } @@ -605,8 +605,8 @@ function _tmux-next-window() { [[ -n ${tmux_describe} ]] && print "Move to the next window in a session" && return local -a args args=( - '-a[Move to the next window with activity]' - '-t[Choose target session]:session:__tmux-sessions' + '-a[move to the next window with activity]' + '-t[choose target session]:session:__tmux-sessions' ) _arguments ${args} } @@ -615,10 +615,10 @@ function _tmux-paste-buffer() { [[ -n ${tmux_describe} ]] && print "Insert a paste buffer into the window" && return local -a args args=( - '-d[Remove buffer from stack after pasting]' - '-r[Do not replace LF with CR when pasting]' - '-b[Choose buffer]:source buffer:__tmux-buffers' - '-t[Choose target window]:window:__tmux-windows' + '-d[remove buffer from stack after pasting]' + '-r[do not replace LF with CR when pasting]' + '-b[choose buffer]:source buffer:__tmux-buffers' + '-t[choose target window]:window:__tmux-windows' ) _arguments ${args} } @@ -627,8 +627,8 @@ function _tmux-pipe-pane() { [[ -n ${tmux_describe} ]] && print "Pipe output from a pane to a shell command" && return local state args=( - '-o[Only open a pipe if none is currently opened]' - '-t[Choose target pane]:pane:__tmux-panes' + '-o[only open a pipe if none is currently opened]' + '-t[choose target pane]:pane:__tmux-panes' '*:: :->cmd' ) _arguments ${args} && return @@ -638,7 +638,7 @@ function _tmux-pipe-pane() { function _tmux-previous-layout() { [[ -n ${tmux_describe} ]] && print "Move a window to the previous layout" && return local -a args - args=('-t[Choose target window]:window:__tmux-windows') + args=('-t[choose target window]:window:__tmux-windows') _arguments ${args} } @@ -646,8 +646,8 @@ function _tmux-previous-window() { [[ -n ${tmux_describe} ]] && print "Move to the previous window in a session" && return local -a args args=( - '-a[Move to the previous window with activity]' - '-t[Choose target session]:session:__tmux-sessions' + '-a[move to the previous window with activity]' + '-t[choose target session]:session:__tmux-sessions' ) _arguments ${args} } @@ -655,7 +655,7 @@ function _tmux-previous-window() { function _tmux-refresh-client() { [[ -n ${tmux_describe} ]] && print "Refresh a client" && return local -a args - args=('-t[Choose target client]:client:__tmux-clients') + args=('-t[choose target client]:client:__tmux-clients') _arguments ${args} } @@ -663,7 +663,7 @@ function _tmux-rename-session() { [[ -n ${tmux_describe} ]] && print "Rename a session" && return local state args=( - '-t[Choose target session]:session:__tmux-sessions' + '-t[choose target session]:session:__tmux-sessions' '*:: :->name' ) _arguments ${args} && return @@ -674,7 +674,7 @@ function _tmux-rename-window() { [[ -n ${tmux_describe} ]] && print "Rename a window" && return local state args=( - '-t[Choose target window]:window:__tmux-windows' + '-t[choose target window]:window:__tmux-windows' '*:: :->name' ) _arguments ${args} && return @@ -684,11 +684,11 @@ function _tmux-rename-window() { function _tmux-resize-pane() { [[ -n ${tmux_describe} ]] && print "Resize a pane" && return args=( - '-D[Resize downward]' - '-L[Resize to the left]' - '-R[Resize to the right]' - '-U[Resize upward]' - '-t[Choose target pane]:pane:__tmux-panes' + '-D[resize downward]' + '-L[resize to the left]' + '-R[resize to the right]' + '-U[resize upward]' + '-t[choose target pane]:pane:__tmux-panes' '1::adjustment (defaults to one):_guard "[0-9]#" "numeric value"' ) _arguments ${args} @@ -698,8 +698,8 @@ function _tmux-respawn-window() { [[ -n ${tmux_describe} ]] && print "Reuse a window in which a command has exited" && return local -a args args=( - '-k[Kill window if it is in use]' - '-t[Choose target window]:window:__tmux-windows' + '-k[kill window if it is in use]' + '-t[choose target window]:window:__tmux-windows' '*::command:_command' ) _arguments ${args} @@ -709,9 +709,9 @@ function _tmux-rotate-window() { [[ -n ${tmux_describe} ]] && print "Rotate positions of panes in a window" && return local -a args args=( - '-D[Rotate downward]' - '-U[Rotate upward]' - '-t[Choose target window]:window:__tmux-windows' + '-D[rotate downward]' + '-U[rotate upward]' + '-t[choose target window]:window:__tmux-windows' ) _arguments ${args} } @@ -728,8 +728,8 @@ function _tmux-save-buffer() { local -ax bopts args=( - '-b[Choose a target buffer index]:buffer:->buffer' - '-t[Choose a target session]:buffer:->session' + '-b[choose a target buffer index]:buffer:->buffer' + '-t[choose a target session]:buffer:->session' ) _arguments ${args} @@ -755,7 +755,7 @@ function _tmux-save-buffer() { function _tmux-select-layout() { [[ -n ${tmux_describe} ]] && print "Choose a layout for a window" && return args=( - '-t[Choose a target window]:target window:__tmux-windows' + '-t[choose a target window]:target window:__tmux-windows' '*::layout name:__tmux-layouts' ) _arguments ${args} @@ -764,21 +764,21 @@ function _tmux-select-layout() { function _tmux-select-pane() { [[ -n ${tmux_describe} ]] && print "Make a pane the active one in the window" && return local -a args - args=('-t[Choose a target pane]:panes:__tmux-panes') + args=('-t[choose a target pane]:panes:__tmux-panes') _arguments ${args} && return } function _tmux-select-prompt() { [[ -n ${tmux_describe} ]] && print "Open a prompt to enter a window index" && return local -a args - args=('-t[Choose a target client]:clients:__tmux-clients') + args=('-t[choose a target client]:clients:__tmux-clients') _arguments ${args} && return } function _tmux-select-window() { [[ -n ${tmux_describe} ]] && print "Select a window" && return local -a args - args=('-t[Choose a target window]:windows:__tmux-windows') + args=('-t[choose a target window]:windows:__tmux-windows') _arguments ${args} && return } @@ -787,7 +787,7 @@ function _tmux-send-keys() { local curcontext="${curcontext}" state local -a args args=( - '-t[Choose a target pane]:panes:__tmux-panes' + '-t[choose a target pane]:panes:__tmux-panes' '*:: :->key' ) _arguments ${args} && return @@ -797,7 +797,7 @@ function _tmux-send-keys() { function _tmux-send-prefix() { [[ -n ${tmux_describe} ]] && print "Send the prefix key to a window" && return local -a args - args=('-t[Choose a target pane]:panes:__tmux-panes') + args=('-t[choose a target pane]:panes:__tmux-panes') _arguments ${args} } @@ -813,8 +813,8 @@ function _tmux-set-buffer() { local -ax bopts args=( - '-b[Choose a target buffer index]:panes:->buffer' - '-t[Choose a target session]:panes:->session' + '-b[choose a target buffer index]:panes:->buffer' + '-t[choose a target session]:panes:->session' ) _arguments ${args} @@ -842,10 +842,10 @@ function _tmux-set-environment() { local state local -a args args=( - '-g[Modify global environment]' - '-r[Remove variable before starting new processes]' - '-u[Unset a variable]' - '-t[Choose a target session]:target session:__tmux-sessions' + '-g[modify global environment]' + '-r[remove variable before starting new processes]' + '-u[unset a variable]' + '-t[choose a target session]:target session:__tmux-sessions' '*:: :->name_or_value' ) _arguments -C ${args} @@ -868,12 +868,12 @@ function _tmux-set-option() { local mode local -a args args=( - '-a[Append to string options]' - '-g[Set a global session option]' - '-u[Unset a non-global option]' - '-w[Change window (not session) options]' - '-s[Change server (not session) options]' - '-t[Choose a target session]:target session:__tmux-sessions' + '-a[append to string options]' + '-g[set a global session option]' + '-u[unset a non-global option]' + '-w[change window (not session) options]' + '-s[change server (not session) options]' + '-t[choose a target session]:target session:__tmux-sessions' '*:: :->name_or_value' ) if __tmux-got-option-already -w; then @@ -891,10 +891,10 @@ function _tmux-set-window-option() { [[ -n ${tmux_describe} ]] && print "Set a window option" && return local -a args args=( - '-a[Append to string options]' - '-g[Set a global window option]' - '-u[Unset a non-global option]' - '-t[Choose a target window]:target window:__tmux-windows' + '-a[append to string options]' + '-g[set a global window option]' + '-u[unset a non-global option]' + '-t[choose a target window]:target window:__tmux-windows' '*:: :->name_or_value' ) _arguments -C ${args} @@ -908,8 +908,8 @@ function _tmux-show-buffer() { local -ax bopts args=( - '-b[Choose a target buffer index]:panes:->buffer' - '-t[Choose a target session]:panes:->session' + '-b[choose a target buffer index]:panes:->buffer' + '-t[choose a target session]:panes:->session' ) _arguments ${args} @@ -936,15 +936,15 @@ function _tmux-show-environment() { [[ -n ${tmux_describe} ]] && print "Display the environment" && return local -a args args=( - '-g[Show global environment]' - '-t[Choose a target session]:target session:__tmux-sessions' + '-g[show global environment]' + '-t[choose a target session]:target session:__tmux-sessions' ) _arguments ${args} } function _tmux-show-messages() { [[ -n ${tmux_describe} ]] && print "Show client"\'"s message log" && return - args=('-t[Choose target client]:client:__tmux-clients') + args=('-t[choose target client]:client:__tmux-clients') _arguments ${args} } @@ -952,8 +952,8 @@ function _tmux-show-options() { [[ -n ${tmux_describe} ]] && print "Show session options" && return local -a args args=( - '-g[Show global options]' - '-t[Choose a target session]:target session:__tmux-sessions' + '-g[show global options]' + '-t[choose a target session]:target session:__tmux-sessions' ) _arguments ${args} } @@ -962,8 +962,8 @@ function _tmux-show-window-options() { [[ -n ${tmux_describe} ]] && print "Show window options" && return local -a args args=( - '-g[Show global options]' - '-t[Choose a target window]:target window:__tmux-windows' + '-g[show global options]' + '-t[choose a target window]:target window:__tmux-windows' ) _arguments ${args} } @@ -977,16 +977,16 @@ function _tmux-split-window() { [[ -n ${tmux_describe} ]] && print "Splits a pane into two" && return local -a args args=( - '-d[Do not make the new window become the active one]' - '-h[Split horizontally]' - '-v[Split vertically]' - '-l[Define new pane'\''s size]: :_guard "[0-9]#" "numeric value"' - '-p[Define new pane'\''s size in percent]: :_guard "[0-9]#" "numeric value"' + '-d[do not make the new window become the active one]' + '-h[split horizontally]' + '-v[split vertically]' + '-l[define new pane'\''s size]: :_guard "[0-9]#" "numeric value"' + '-p[define new pane'\''s size in percent]: :_guard "[0-9]#" "numeric value"' # Yes, __tmux_pane is correct here. The behaviour was changed # in recent tmux versions and makes more sense. Except that # changing the command's name might annoy users. So it stays like # this. - '-t[Choose target pane]:window:__tmux-panes' + '-t[choose target pane]:window:__tmux-panes' '*:: :_command' ) _arguments ${args} && return @@ -1000,7 +1000,7 @@ function _tmux-start-server() { function _tmux-suspend-client() { [[ -n ${tmux_describe} ]] && print "Suspend a client" && return local -a args - args=('-t[Choose destination client]:client:__tmux-clients') + args=('-t[choose destination client]:client:__tmux-clients') _arguments ${args} } @@ -1008,11 +1008,11 @@ function _tmux-swap-pane() { [[ -n ${tmux_describe} ]] && print "Swap two panes" && return local -a args args=( - '-D[Move pane down]' - '-U[Move pane up]' - '-d[Do not change the active pane]' - '-s[Choose source pane]:pane:__tmux-panes' - '-t[Choose destination pane]:pane:__tmux-panes' + '-D[move pane down]' + '-U[move pane up]' + '-d[do not change the active pane]' + '-s[choose source pane]:pane:__tmux-panes' + '-t[choose destination pane]:pane:__tmux-panes' ) _arguments ${args} } @@ -1021,9 +1021,9 @@ function _tmux-swap-window() { [[ -n ${tmux_describe} ]] && print "Swap two windows" && return local -a args args=( - '-d[Do not make the new window become the active one]' - '-s[Choose source window]:window:__tmux-windows' - '-t[Choose destination window]:window:__tmux-windows' + '-d[do not make the new window become the active one]' + '-s[choose source window]:window:__tmux-windows' + '-t[choose destination window]:window:__tmux-windows' ) _arguments ${args} } @@ -1032,8 +1032,8 @@ function _tmux-switch-client() { [[ -n ${tmux_describe} ]] && print "Switch the client to another session" && return local -a args args=( - '-c[Choose a target client]:client:__tmux-clients' - '-t[Choose a target window]:window:__tmux-windows' + '-c[choose a target client]:client:__tmux-clients' + '-t[choose a target window]:window:__tmux-windows' ) _arguments ${args} } @@ -1045,9 +1045,9 @@ function _tmux-unbind-key() { ow=( "${words[@]}" ) args=( - '-c[Kill the window if it is only in one session]' - '-n[Remove a non-prefix binding]' - '-t[Choose a key table]:key table:__tmux-key-tables' + '-c[kill the window if it is only in one session]' + '-n[remove a non-prefix binding]' + '-t[choose a key table]:key table:__tmux-key-tables' '*:: :->boundkeys' ) _arguments ${args} && return @@ -1064,8 +1064,8 @@ function _tmux-unlink-window() { [[ -n ${tmux_describe} ]] && print "Unlink a window" && return local -a args args=( - '-k[Kill the window if it is only in one session]' - '-t[Choose a target window]:target window:__tmux-windows' + '-k[kill the window if it is only in one session]' + '-t[choose a target window]:target window:__tmux-windows' ) _arguments ${args} } @@ -1073,7 +1073,7 @@ function _tmux-unlink-window() { function _tmux-up-pane() { [[ -n ${tmux_describe} ]] && print "Move up a pane" && return local -a args - args=('-t[Choose a target pane]:panes:__tmux-panes') + args=('-t[choose a target pane]:panes:__tmux-panes') _arguments ${args} } @@ -1114,7 +1114,7 @@ function __tmux-choose-stuff() { local curcontext="${curcontext}" state local -a args args=( - '-t[Choose a target pane]:panes:__tmux-panes' + '-t[choose a target pane]:panes:__tmux-panes' '*:: :->tmpl' ) _arguments ${args} && return @@ -1312,58 +1312,58 @@ function __tmux-option-guard() { function __tmux-options() { local -a tmux_options tmux_options=( - 'base-index:Define where to start numbering' - 'bell-action:Set action on window bell' - 'buffer-limit:Number of buffers kept per session' - 'default-command:Default command for new windows' - 'default-path:Default working directory' - 'default-shell:Default shell executable' - 'default-terminal:Default terminal definition string' - 'display-panes-colour:Colour used for display-panes' - 'display-panes-active-colour:Colour for active pane in display-panes' - 'display-panes-time:Time (in msecs) of display-panes output' - 'display-time:Time (in msecs) messages are displayed' - 'history-limit:Number of copy-mode lines per window' - 'lock-after-time:Lock sessions after N seconds' - 'lock-command:Command to run for locking a client' - 'lock-server:Make lock-after-time lock the server instead of sessions' - 'message-attr:Set status line message attributes' - 'message-bg:Set status line message background colour' - 'message-fg:Set status line message foreground colour' - 'message-limit:Set size of message log per client' - 'mouse-select-pane:Make mouse clicks select window panes' - 'pane-border-bg:Set pane border foreground colour' - 'pane-border-fg:Set pane border background colour' - 'pane-active-border-bg:Set active pane border foreground colour' - 'pane-active-border-fg:Set active pane border background colour' - 'prefix:Comma seperated line of keys accepted as prefix key' - 'repeat-time:Time for multiple commands without prefix-key presses' - 'set-remain-on-exit:Set remain-on-exit window option' - 'set-titles:Try to set xterm window titles' - 'set-titles-string:Format used by set-titles' - 'status:Show or hide the status bar' - 'status-attr:Status bar attributes' - 'status-bg:Status bar background colour' - 'status-fg:Status bar foreground colour' - 'status-interval:Interval (in seconds) for status bar updates' - 'status-justify:Position of the window list in status bar' - 'status-keys:Mode to use in status bar modes (vi/emacs)' - 'status-left:Format to use left in status bar' - 'status-left-attr:Attribute for the left part of the status bar' - 'status-left-bg:Background colour of the left part of the status bar' - 'status-left-fg:Foreground colour of the left part of the status bar' - 'status-left-length:Maximum length of the left part of the status bar' - 'status-right:Format to use right in status bar' - 'status-right-attr:Attribute for the right part of the status bar' - 'status-right-bg:Background colour of the right part of the status bar' - 'status-right-fg:Foreground colour of the right part of the status bar' - 'status-right-length:Maximum length of the right part of the status bar' - 'status-utf8:Assume UTF-8 sequences to appear in status bar' - 'terminal-overrides:Override terminal descriptions' - 'update-environment:List of variables to be copied to a session'\''s environment' - 'visual-activity:Display status line messages upon activity' - 'visual-bell:Use visual bell instead of audible' - 'visual-content:Display status line messages upon content changes' + 'base-index:define where to start numbering' + 'bell-action:set action on window bell' + 'buffer-limit:number of buffers kept per session' + 'default-command:default command for new windows' + 'default-path:default working directory' + 'default-shell:default shell executable' + 'default-terminal:default terminal definition string' + 'display-panes-colour:colour used for display-panes' + 'display-panes-active-colour:colour for active pane in display-panes' + 'display-panes-time:time (in msecs) of display-panes output' + 'display-time:time (in msecs) messages are displayed' + 'history-limit:number of copy-mode lines per window' + 'lock-after-time:lock sessions after N seconds' + 'lock-command:command to run for locking a client' + 'lock-server:make lock-after-time lock the server instead of sessions' + 'message-attr:set status line message attributes' + 'message-bg:set status line message background colour' + 'message-fg:set status line message foreground colour' + 'message-limit:set size of message log per client' + 'mouse-select-pane:make mouse clicks select window panes' + 'pane-border-bg:set pane border foreground colour' + 'pane-border-fg:set pane border background colour' + 'pane-active-border-bg:set active pane border foreground colour' + 'pane-active-border-fg:set active pane border background colour' + 'prefix:comma seperated line of keys accepted as prefix key' + 'repeat-time:time for multiple commands without prefix-key presses' + 'set-remain-on-exit:set remain-on-exit window option' + 'set-titles:try to set xterm window titles' + 'set-titles-string:format used by set-titles' + 'status:show or hide the status bar' + 'status-attr:status bar attributes' + 'status-bg:status bar background colour' + 'status-fg:status bar foreground colour' + 'status-interval:interval (in seconds) for status bar updates' + 'status-justify:position of the window list in status bar' + 'status-keys:mode to use in status bar modes (vi/emacs)' + 'status-left:format to use left in status bar' + 'status-left-attr:attribute for the left part of the status bar' + 'status-left-bg:background colour of the left part of the status bar' + 'status-left-fg:foreground colour of the left part of the status bar' + 'status-left-length:maximum length of the left part of the status bar' + 'status-right:format to use right in status bar' + 'status-right-attr:attribute for the right part of the status bar' + 'status-right-bg:background colour of the right part of the status bar' + 'status-right-fg:foreground colour of the right part of the status bar' + 'status-right-length:maximum length of the right part of the status bar' + 'status-utf8:assume UTF-8 sequences to appear in status bar' + 'terminal-overrides:override terminal descriptions' + 'update-environment:list of variables to be copied to a session'\''s environment' + 'visual-activity:display status line messages upon activity' + 'visual-bell:use visual bell instead of audible' + 'visual-content:display status line messages upon content changes' ) _describe -t tmux-options 'tmux option' tmux_options } @@ -1412,8 +1412,8 @@ function __tmux-panes() { function __tmux-server-options() { local -a tmux_server_options tmux_server_options=( - 'escape-time:Set timeout to detect single escape characters (in msecs)' - 'quiet:Enable/disable the display of various informational messages' + 'escape-time:set timeout to detect single escape characters (in msecs)' + 'quiet:enable/disable the display of various informational messages' ) _describe -t tmux-server-options 'tmux server option' tmux_server_options } @@ -1437,34 +1437,34 @@ function __tmux-socket-name() { function __tmux-window-options() { local -a tmux_window_options tmux_window_options=( - 'aggressive-resize:Aggressively resize windows' - 'alternate-screen:Allow alternate screen feature to be used' - 'automatic-rename:Attempt to automatically rename windows' - 'clock-mode-colour:Set clock colour' - 'clock-mode-style:Set clock hour format (12/24)' - 'force-height:Force a windows to a certain height' - 'force-width:Force a windows to a certain width' - 'main-pane-height:Set height for main-* layouts' - 'main-pane-width:Set width for main-* layouts' - 'mode-attr:Set window modes attributes' - 'mode-bg:Set window modes background colour' - 'mode-fg:Set window modes foreground colour' - 'mode-keys:Mode to use in copy and choice modes (vi/emacs)' - 'mode-mouse:Use mouse in modes' - 'monitor-activity:Monitor window activity' - 'monitor-content:Monitor window contents for a fnmatch(3) pattern' - 'remain-on-exit:Do not destroy windows after the program exits' - 'synchronize-panes:Send input to all panes of a window' - 'utf8:Assume UTF-8 sequences to appear in a window' - 'window-status-attr:Set status line attributes for a window' - 'window-status-bg:Set status line background for a window' - 'window-status-current-attr:Set status line attributes for active window' - 'window-status-current-bg:Set status line background for active window' - 'window-status-current-fg:Set status line foreground for active window' - 'window-status-current-format:Set status line format for active window' - 'window-status-fg:Set status line foreground for a window' - 'window-status-format:Set status line format for all but the active window' - 'xterm-keys:Generate xterm-style function key sequences' + 'aggressive-resize:aggressively resize windows' + 'alternate-screen:allow alternate screen feature to be used' + 'automatic-rename:attempt to automatically rename windows' + 'clock-mode-colour:set clock colour' + 'clock-mode-style:set clock hour format (12/24)' + 'force-height:force a windows to a certain height' + 'force-width:force a windows to a certain width' + 'main-pane-height:set height for main-* layouts' + 'main-pane-width:set width for main-* layouts' + 'mode-attr:set window modes attributes' + 'mode-bg:set window modes background colour' + 'mode-fg:set window modes foreground colour' + 'mode-keys:mode to use in copy and choice modes (vi/emacs)' + 'mode-mouse:use mouse in modes' + 'monitor-activity:monitor window activity' + 'monitor-content:monitor window contents for a fnmatch(3) pattern' + 'remain-on-exit:do not destroy windows after the program exits' + 'synchronize-panes:send input to all panes of a window' + 'utf8:assume UTF-8 sequences to appear in a window' + 'window-status-attr:set status line attributes for a window' + 'window-status-bg:set status line background for a window' + 'window-status-current-attr:set status line attributes for active window' + 'window-status-current-bg:set status line background for active window' + 'window-status-current-fg:set status line foreground for active window' + 'window-status-current-format:set status line format for active window' + 'window-status-fg:set status line foreground for a window' + 'window-status-format:set status line format for all but the active window' + 'xterm-keys:generate xterm-style function key sequences' ) _describe -t tmux-window-options 'tmux window option' tmux_window_options } diff --git a/Completion/Unix/Command/_todo.sh b/Completion/Unix/Command/_todo.sh index 3bae98b1a..799be5427 100644 --- a/Completion/Unix/Command/_todo.sh +++ b/Completion/Unix/Command/_todo.sh @@ -32,19 +32,19 @@ local txtmsg="text with contexts or projects" case $state in (commands) cmdlist=( - "add:Add TODO ITEM to todo.txt." - "append:Adds to item on line NUMBER the text TEXT." - "archive:Moves done items from todo.txt to done.txt." - "del:Deletes the item on line NUMBER in todo.txt." - "do:Marks item on line NUMBER as done in todo.txt." - "list:Displays all todo items containing TERM(s), sorted by priority." - "listall:Displays items including done ones containing TERM(s)" - "listpri:Displays all items prioritized at PRIORITY." - "prepend:Adds to the beginning of the item on line NUMBER text TEXT." - "pri:Adds or replace in NUMBER the priority PRIORITY (upper case letter)." - "replace:Replace in NUMBER the TEXT." - "remdup:Remove exact duplicates from todo.txt." - "report:Adds the number of open and done items to report.txt." + "add:add TODO ITEM to todo.txt." + "append:adds to item on line NUMBER the text TEXT." + "archive:moves done items from todo.txt to done.txt." + "del:deletes the item on line NUMBER in todo.txt." + "do:marks item on line NUMBER as done in todo.txt." + "list:displays all todo items containing TERM(s), sorted by priority." + "listall:displays items including done ones containing TERM(s)" + "listpri:displays all items prioritized at PRIORITY." + "prepend:adds to the beginning of the item on line NUMBER text TEXT." + "pri:adds or replace in NUMBER the priority PRIORITY (upper case letter)." + "replace:replace in NUMBER the TEXT." + "remdup:remove exact duplicates from todo.txt." + "report:adds the number of open and done items to report.txt." ) _describe -t todo-commands 'todo.sh command' cmdlist ;; diff --git a/Completion/Unix/Command/_wget b/Completion/Unix/Command/_wget index 67c2326e2..54c09a377 100644 --- a/Completion/Unix/Command/_wget +++ b/Completion/Unix/Command/_wget @@ -79,7 +79,7 @@ _arguments -C -s \ '(--user)--ftp-user=:user' \ '(--password)--ftp-password=:password' \ "--no-remove-listing[don't remove \`.listing' files]" \ - '--no-glob[turn off FTP file name globbing.]' \ + '--no-glob[turn off FTP file name globbing]' \ '--no-passive-ftp' \ '--retr-symlinks' \ '--preserve-permissions[preserve remote file permissions with ftp]' \ diff --git a/Completion/Unix/Command/_yafc b/Completion/Unix/Command/_yafc index 9c5388ba6..df9623beb 100644 --- a/Completion/Unix/Command/_yafc +++ b/Completion/Unix/Command/_yafc @@ -3,22 +3,22 @@ _yafc() { local arguments arguments=( - '(--anon -a)'{--anon,-a}'[Try an anonymous login]' - '(--debug -d)'{--debug,-d}'[Print all messages to/from server]' - '(--dump-rc -D)'{--dump-rc,-D}'[Print the default configuration file]' + '(--anon -a)'{--anon,-a}'[try an anonymous login]' + '(--debug -d)'{--debug,-d}'[print all messages to/from server]' + '(--dump-rc -D)'{--dump-rc,-D}'[print the default configuration file]' '(--mechanism -m)'{--mechanism=-,-m}'[specify a security mechanism]:security mechanism:(krb4, krb5, none)' - '(--norc -n)'{--norc,-n}'[Do not read the users configuration file]' - '(--noproxy -p)'{--noproxy,-p}'[Do not connect via the proxy]' - '(--quiet -q)'{--quiet,-q}'[Do not print the welcome message]' - '(--rcfile -r)'{--rcfile=-,-r}'[Specify a configuration file]:configuration file:_files' - '(--trace -t)'{--trace=-,-t-}'[Specify a trace file]:trace file:_files' - '(--noauto -u)'{--noauto,-u}'[Do not login automagically]' - '(--noalias -U)'{--noalias,-U}'[As --noauto, but bookmark aliases is disabled]' + '(--norc -n)'{--norc,-n}'[do not read the users configuration file]' + '(--noproxy -p)'{--noproxy,-p}'[do not connect via the proxy]' + '(--quiet -q)'{--quiet,-q}'[do not print the welcome message]' + '(--rcfile -r)'{--rcfile=-,-r}'[specify a configuration file]:configuration file:_files' + '(--trace -t)'{--trace=-,-t-}'[specify a trace file]:trace file:_files' + '(--noauto -u)'{--noauto,-u}'[do not login automagically]' + '(--noalias -U)'{--noalias,-U}'[as --noauto, but bookmark aliases is disabled]' '(--verbose -v)'{--verbose,-v}'[print all responses received]' - '(--wait -w)'{--wait,-w=}'[Specify a waiting time between connection attempts]:wait time: ' - '(--workdir -W)'{--workdir=,-W+}'[Use a different working directory]:working directory:_directories' - '(--version -V)'{--version,-V}'[Print version information]' - '(--help -h)'{--help,-h}'[Print a short help description]' + '(--wait -w)'{--wait,-w=}'[specify a waiting time between connection attempts]:wait time: ' + '(--workdir -W)'{--workdir=,-W+}'[use a different working directory]:working directory:_directories' + '(--version -V)'{--version,-V}'[print version information]' + '(--help -h)'{--help,-h}'[print a short help description]' '*:address:_yafc_address' ) diff --git a/Completion/Unix/Command/_zfs b/Completion/Unix/Command/_zfs index c15bc81d5..ff404278a 100644 --- a/Completion/Unix/Command/_zfs +++ b/Completion/Unix/Command/_zfs @@ -49,7 +49,7 @@ _zfs() { if [[ $service == "zfs" ]]; then _arguments -C -A "-*" \ - '-\?[Help]' \ + '-\?[help]' \ '*::command:->subcmd' && return 0 if (( CURRENT == 1 )); then @@ -63,43 +63,43 @@ _zfs() { case $service in ("create") _arguments -A "-*" \ - '-p[Create parent datasets]' \ - '-o[Set initial properties]:property:_values -s , "property" $rw_properties' \ + '-p[create parent datasets]' \ + '-o[set initial properties]:property:_values -s , "property" $rw_properties' \ - set1 \ ':filesystem:' \ - set2 \ - '-s[Create sparse volume]' \ - '-b[Set volblocksize]:blocksize:' \ - '-V[Set size]:size:' \ + '-s[create sparse volume]' \ + '-b[set volblocksize]:blocksize:' \ + '-V[set size]:size:' \ ':volume:' ;; ("destroy") _arguments -A "-*" \ - '-r[Recursively destroy all children]' \ - '-R[Recursively destroy all dependents]' \ - '-f[Force unmounts]' \ + '-r[recursively destroy all children]' \ + '-R[recursively destroy all dependents]' \ + '-f[force unmounts]' \ ':filesystem/volume/snapshot:_zfs_dataset' ;; ("snapshot") _arguments -A "-*" \ - '-r[Recursively snapshot all descendant datasets]' \ + '-r[recursively snapshot all descendant datasets]' \ ':filesystem/volume:_zfs_dataset -t fs -t vol -S@' ;; ("rollback") _arguments -A "-*" \ - '-r[Recursively destroy more recent snapshots]' \ - '-R[Recursively destroy more recent snapshots and clones]' \ - '-f[Force unmounts]' \ + '-r[recursively destroy more recent snapshots]' \ + '-R[recursively destroy more recent snapshots and clones]' \ + '-f[force unmounts]' \ ':snapshot:_zfs_dataset -t snap' ;; ("clone") # XXX needs to bail if there are no snapshots _arguments -A "-*" \ - '-p[Create parent datasets]' \ + '-p[create parent datasets]' \ ':snapshot:_zfs_dataset -t snap' \ ':filesystem/volume:' ;; @@ -113,23 +113,23 @@ _zfs() { ("rename") _arguments -A "-*" \ - set1 \ - '-p[Create parent datasets]' \ + '-p[create parent datasets]' \ ':filesystem/volume/snapshot:_zfs_dataset' \ ':filesystem/volume/snapshot:' \ - set2 \ - '-r[Recursively rename snapshots of all descendent datasets]' \ + '-r[recursively rename snapshots of all descendent datasets]' \ ':snapshot:_zfs_dataset -t snap' \ ':snapshot:' ;; ("list") _arguments -A "-*" \ - '-r[Recursively display children]' \ - '-H[Scripting mode]' \ - '-o[Properties to list]:property:_values -s , "property" $ro_properties $rw_propnames' \ - '*-s[Sort key (ascending)]:property:_values "property" $ro_properties $rw_propnames' \ - '*-S[Sort key (descending)]:property:_values "property" $ro_properties $rw_propnames' \ - '-t[Dataset types to list]:dataset type:_values -s , "dataset type" filesystem snapshot volume' \ + '-r[recursively display children]' \ + '-H[scripting mode]' \ + '-o[properties to list]:property:_values -s , "property" $ro_properties $rw_propnames' \ + '*-s[sort key (ascending)]:property:_values "property" $ro_properties $rw_propnames' \ + '*-S[sort key (descending)]:property:_values "property" $ro_properties $rw_propnames' \ + '-t[dataset types to list]:dataset type:_values -s , "dataset type" filesystem snapshot volume' \ '*:filesystem/volume/snapshot:_zfs_dataset' ;; @@ -141,46 +141,46 @@ _zfs() { ("get") _arguments -A "-*" \ - "-r[Recursively display children's properties]" \ - '-H[Scripting mode]' \ - '-p[Display numbers exactly]' \ - '-s[Specify sources]:source:_values -s , "source" local default inherited temporary none' \ - '-o[Specify fields]:field:_values -s , "field" name property value source' \ + "-r[recursively display children's properties]" \ + '-H[scripting mode]' \ + '-p[display numbers exactly]' \ + '-s[specify sources]:source:_values -s , "source" local default inherited temporary none' \ + '-o[specify fields]:field:_values -s , "field" name property value source' \ ':property:_values -s , "property" $ro_properties $rw_propnames all' \ '*:filesystem/volume/snapshot:_zfs_dataset' ;; ("inherit") _arguments -A "-*" \ - '-r[Recursively inherit property for all children]' \ + '-r[recursively inherit property for all children]' \ ':property:_values -s , "property" $ro_properties $rw_properties' \ '*:filesystem/volume:_zfs_dataset -t fs -t vol' ;; ("mount") _arguments -A "-*" \ - '-o[Mount options]:mount options:_values -s , "option" {,no}{devices,exec,setuid} ro rw' \ - '-O[Overlay mount]' \ - '-v[Report mount progress]' \ + '-o[mount options]:mount options:_values -s , "option" {,no}{devices,exec,setuid} ro rw' \ + '-O[overlay mount]' \ + '-v[report mount progress]' \ - set1 \ ':filesystem:_zfs_dataset -t fs' \ - set2 \ - '-a[Mount all available ZFS filesystems]' + '-a[mount all available ZFS filesystems]' ;; ("unmount") _arguments -A "-*" \ - set1 \ - '-f[Force unmount]' \ + '-f[force unmount]' \ ':filesystem:_zfs_dataset -t fs -t mtpt' \ - set2 \ - '-a[Unmount all ZFS filesystems]' + '-a[unmount all ZFS filesystems]' ;; ("share") _arguments -A "-*" \ - set1 \ - '-a[Share all available ZFS filesystems]' \ + '-a[share all available ZFS filesystems]' \ - set2 \ ':filesystem:_zfs_dataset -t fs' ;; @@ -188,27 +188,27 @@ _zfs() { ("unshare") _arguments -A "-*" \ - set1 \ - '-a[Unshare all shared ZFS filesystems]' \ + '-a[unshare all shared ZFS filesystems]' \ - set2 \ - '-F[Force unshare]' \ + '-F[force unshare]' \ ':filesystem:_zfs_dataset -t fs -t mtpt' ;; ("send") _arguments -A "-*" \ - '-i[Generate an incremental stream]:snapshot:_zfs_dataset -t snap' \ + '-i[generate an incremental stream]:snapshot:_zfs_dataset -t snap' \ ':snapshot:_zfs_dataset -t snap' ;; ("receive") _arguments -A "-*" \ - '-v[Verbose]' \ - '-n[Do not receive the stream]' \ - '-F[Force a rollback if necessary]' \ + '-v[verbose]' \ + '-n[do not receive the stream]' \ + '-F[force a rollback if necessary]' \ - set1 \ ':filesystem/volume/snapshot:_zfs_dataset' \ - set2 \ - '-d[Set path prefix]:filesystem:_zfs_dataset -t fs' + '-d[set path prefix]:filesystem:_zfs_dataset -t fs' ;; ("allow"|"unallow") @@ -218,14 +218,14 @@ _zfs() { ("upgrade") _arguments -A "-*" \ - set1 \ - '-v[Verbose]' \ + '-v[verbose]' \ - set2 \ - '-a[Upgrade all filesystems on all pools]' \ - '-r[Upgrade descendent filesystems, too]' \ - '-V[Upgrade to specified version]:version:(1 2)' \ + '-a[upgrade all filesystems on all pools]' \ + '-r[upgrade descendent filesystems, too]' \ + '-V[upgrade to specified version]:version:(1 2)' \ - set3 \ - '-r[Upgrade descendent filesystems, too]' \ - '-V[Upgrade to specified version]:version:(1 2)' \ + '-r[upgrade descendent filesystems, too]' \ + '-V[upgrade to specified version]:version:(1 2)' \ ':filesystem:_zfs_dataset -t fs' \ ;; diff --git a/Completion/Unix/Command/_zpool b/Completion/Unix/Command/_zpool index ae98c2b7f..9692121ae 100644 --- a/Completion/Unix/Command/_zpool +++ b/Completion/Unix/Command/_zpool @@ -35,7 +35,7 @@ _zpool() { if [[ $service == "zpool" ]]; then _arguments -C -A "-*" \ - '-\?[Help]' \ + '-\?[help]' \ '*::command:->subcmd' && return 0 if (( CURRENT == 1 )); then @@ -56,38 +56,38 @@ _zpool() { (create) # TODO: investigate better vdev handling _arguments -A "-*" \ - '-f[Force use of in-use devices]' \ - '-n[Display configuration without creating pool]' \ - '-R[Use alternate root]:alternate root:_files -/' \ - '-m[Set mountpoint for root dataset]:mountpoint:' \ + '-f[force use of in-use devices]' \ + '-n[display configuration without creating pool]' \ + '-R[use alternate root]:alternate root:_files -/' \ + '-m[set mountpoint for root dataset]:mountpoint:' \ ':pool name:' \ '*:virtual device:_files' ;; (destroy) _arguments -A "-*" \ - '-f[Force active datasets to be unmounted]' \ + '-f[force active datasets to be unmounted]' \ ':pool name:_zfs_pool' ;; (add) _arguments -A "-*" \ - '-f[Force use of in-use devices]' \ - '-n[Display configuration without modifying pool]' \ + '-f[force use of in-use devices]' \ + '-n[display configuration without modifying pool]' \ ':pool name:_zfs_pool' \ '*:virtual device:_files' ;; (list) _arguments \ - '-H[Scripted mode]' \ - '-o[Fields to list]:field:_values -s , "field" ${^fields/\:/[}\]' \ + '-H[scripted mode]' \ + '-o[fields to list]:field:_values -s , "field" ${^fields/\:/[}\]' \ '::pool name:_zfs_pool' ;; (iostat) _arguments -A "-*" \ - '-v[Verbose statistics]' \ + '-v[verbose statistics]' \ '*::pool name:_zfs_pool' \ '::interval:' \ '::count:' @@ -95,14 +95,14 @@ _zpool() { (status) _arguments -A "-*" \ - '-v[Verbose information]' \ - '-x[Show only unhealthy pools]' \ + '-v[verbose information]' \ + '-x[show only unhealthy pools]' \ '*::pool name:_zfs_pool' ;; (offline) _arguments -A "-*" \ - '-t[Offline until next reboot]' \ + '-t[offline until next reboot]' \ ':pool name:_zfs_pool' \ '*:virtual device:_files' ;; @@ -116,7 +116,7 @@ _zpool() { (attach) # TODO: first device should choose first from existing. _arguments \ - '-f[Force attach, even if in use]' \ + '-f[force attach, even if in use]' \ ':pool name:_zfs_pool' \ ':virtual device:_files' \ ':virtual device:_files' @@ -130,7 +130,7 @@ _zpool() { (replace) _arguments -A "-*" \ - '-f[Force attach, even if in use]' \ + '-f[force attach, even if in use]' \ ':pool name:_zfs_pool' \ ':virtual device:_files' \ '::virtual device:_files' @@ -138,30 +138,30 @@ _zpool() { (scrub) _arguments -A "-*" \ - '-s[Stop scrubbing]' \ + '-s[stop scrubbing]' \ '*:pool name:_zfs_pool' ;; (export) _arguments -A "-*" \ - '-f[Forcefully unmount all datasets]' \ + '-f[forcefully unmount all datasets]' \ '*:pool name:_zfs_pool' ;; (import) # TODO: -o should complete options _arguments -A "-*" \ - '*-d[Search for devices or files in directory]:_files -/' \ - '-D[Destroyed pools]' \ - '-f[Force import]' \ + '*-d[search for devices or files in directory]:_files -/' \ + '-D[destroyed pools]' \ + '-f[force import]' \ - set1 \ - '-o[Mount options]' \ - '-p[Set property]:property:_values -s , "property" $import_properties' \ - '-R[Alternate root]:_files -/' \ + '-o[mount options]' \ + '-p[set property]:property:_values -s , "property" $import_properties' \ + '-R[alternate root]:_files -/' \ '*:pool name or id:_zfs_pool' \ '::new pool name:' \ - set2 \ - '-a[All pools]' + '-a[all pools]' ;; (get) @@ -179,16 +179,16 @@ _zpool() { (upgrade) _arguments -A "-*" \ - set1 \ - '-v[Display ZFS versions and descriptions]' \ + '-v[display ZFS versions and descriptions]' \ - set2 \ - '-a[Upgrade all pools]' \ + '-a[upgrade all pools]' \ '*:pool name:_zfs_pool' ;; (history) _arguments -A "-*" \ - '-i[Display internal events]' \ - '-l[Long format]' \ + '-i[display internal events]' \ + '-l[long format]' \ '*:pool name:_zfs_pool' ;; diff --git a/Completion/Unix/Type/_printers b/Completion/Unix/Type/_printers index 70f10f65e..d7039dbbe 100644 --- a/Completion/Unix/Type/_printers +++ b/Completion/Unix/Type/_printers @@ -83,7 +83,7 @@ if (( ! $+_lp_cache )); then _lp_cache+=( ${${${(S)${(f)tmp}/(#b):*((#e)|description=([^:]#):)*/:${match[2]}|}%%|*}:#_default*} ) # If you use YP fi - (( $#_lp_cache )) || _lp_cache=( 'lp0:Guessed default printer' ) + (( $#_lp_cache )) || _lp_cache=( 'lp0:guessed default printer' ) (( $#_lp_alias_cache )) || unset _lp_alias_cache fi |