mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-01 09:41:44 +02:00
39890: typo corrections in completion functions
This commit is contained in:
parent
496626ddb8
commit
370b278565
35 changed files with 81 additions and 60 deletions
21
ChangeLog
21
ChangeLog
|
@ -1,5 +1,26 @@
|
|||
2016-11-09 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 39890: Completion/Debian/Command/_git-buildpackage,
|
||||
Completion/Debian/Command/_lintian,
|
||||
Completion/Debian/Command/_make-kpkg,
|
||||
Completion/Linux/Command/_iwconfig,
|
||||
Completion/Debian/Command/_dcut, Completion/Linux/Command/_mdadm,
|
||||
Completion/Solaris/Command/_dladm, Completion/Unix/Command/_adb,
|
||||
Completion/Unix/Command/_attr, Completion/Unix/Command/_awk,
|
||||
Completion/Unix/Command/_bzr, Completion/Unix/Command/_cdrdao,
|
||||
Completion/Unix/Command/_devtodo, Completion/Unix/Command/_feh,
|
||||
Completion/Unix/Command/_global, Completion/Unix/Command/_groff,
|
||||
Completion/Unix/Command/_growisofs,
|
||||
Completion/Unix/Command/_initctl, Completion/Unix/Command/_iostat,
|
||||
Completion/Unix/Command/_ip, Completion/Unix/Command/_java,
|
||||
Completion/Unix/Command/_localedef, Completion/Unix/Command/_make,
|
||||
Completion/Unix/Command/_mencal, Completion/Unix/Command/_module,
|
||||
Completion/Unix/Command/_nkf, Completion/Unix/Command/_nmap,
|
||||
Completion/Unix/Command/_pbm, Completion/Unix/Command/_rar,
|
||||
Completion/Unix/Command/_sisu, Completion/Unix/Command/_sqsh,
|
||||
Completion/Unix/Command/_surfraw, Completion/Unix/Command/_units,
|
||||
Completion/Unix/Command/_wiggle: fix typos and spellings
|
||||
|
||||
* 39888: Completion/Unix/Command/_tmux: update for tmux 2.3
|
||||
|
||||
* 39884: Functions/Zle/history-beginning-search-menu:
|
||||
|
|
|
@ -106,7 +106,7 @@ function _dcut() {
|
|||
(rm)
|
||||
# dcut rm arguments
|
||||
opts=(
|
||||
'--searchdirs[search in all directores for the given files]'
|
||||
'--searchdirs[search in all directories for the given files]'
|
||||
'1::file to be deleted:_files'
|
||||
)
|
||||
;;
|
||||
|
@ -128,7 +128,7 @@ function _dcut() {
|
|||
opts=(
|
||||
'--uid[full name and address or GPG fingerprint of the Debian Maintainer]'
|
||||
'*--allow[grant permission to upload a source package]:source package'
|
||||
'*--deny[remove permission to upload a source pckage]:source package'
|
||||
'*--deny[remove permission to upload a source package]:source package'
|
||||
)
|
||||
;;
|
||||
(reschedule)
|
||||
|
@ -142,7 +142,7 @@ function _dcut() {
|
|||
# dcut rm arguments
|
||||
opts=(
|
||||
'*'{-f,--filename}'[file name to be removed]:file name:_files'
|
||||
'--searchdirs[search in all directores for the given files]'
|
||||
'--searchdirs[search in all directories for the given files]'
|
||||
)
|
||||
;;
|
||||
(upload)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
_arguments \
|
||||
'--version[show program version number and exit]' \
|
||||
'--help[show help message and exit]' \
|
||||
'--git-ignore-new[build with uncommited changes in the source tree]' \
|
||||
'--git-ignore-new[build with uncommitted changes in the source tree]' \
|
||||
'--git-no-ignore-new[negates --git-ignore-new]' \
|
||||
'--git-verbose[verbose command execution]' \
|
||||
'--git-tag[create a tag after a successful build]' \
|
||||
|
@ -40,4 +40,4 @@ _arguments \
|
|||
'--git-dont-purge[retain exported package build directory]' \
|
||||
'--git-overlay[extract orig tarball when using export-dir option]' \
|
||||
'--git-no-overlay[negates --git-overlay]' \
|
||||
'*:Other options:_dpkg-buildpackage'
|
||||
'*:other options:_dpkg-buildpackage'
|
||||
|
|
|
@ -23,7 +23,7 @@ case "$service" in
|
|||
'(-o --no-override)'{-o,--no-override}'[do not use the overrides file]' \
|
||||
'--show-overrides[output tags that have been overridden]' \
|
||||
'--color:when:(never always auto)' \
|
||||
'(-U --unpack-info)'{-U,--unpack-info}'[collect informations]:infos:_values -s , "collectibles" changelog-file copyright-file debfiles debian-readme diffstat doc-base-files file-info init.d md5sums menu-files objdump-info override-file scripts source-control-file' \
|
||||
'(-U --unpack-info)'{-U,--unpack-info}'[collect information]:info:_values -s , "collectibles" changelog-file copyright-file debfiles debian-readme diffstat doc-base-files file-info init.d md5sums menu-files objdump-info override-file scripts source-control-file' \
|
||||
'(-m --md5sums)'{-m,--md5sums}'[check md5sums when processing a .changes file]' \
|
||||
'--allow-root[override warning when run with superuser privileges]' \
|
||||
'--cfg:config file:_files' \
|
||||
|
|
|
@ -40,7 +40,7 @@ _arguments -C \
|
|||
build\:"compiles the kernel" \
|
||||
modules\:"build all add-on modules" \
|
||||
modules-config\:"configure all add-on modules" \
|
||||
modules-image\:"build all add-on modules, but wirhou source and diff files" \
|
||||
modules-image\:"build all add-on modules, but without source and diff files" \
|
||||
modules-clean\:"clean add-on modules" \
|
||||
configure\:"configure the kernel" \
|
||||
debian\:"creates the debian/ directory" \
|
||||
|
|
|
@ -50,7 +50,7 @@ if [[ -n "$state" ]]; then
|
|||
'essid[set the network name]' \
|
||||
'(nwid domain)'{nwid,domain}'[set the network ID]' \
|
||||
'(freq channel)'{freq,channel}'[set the operating frequency or channel]' \
|
||||
'sens[set the sensitivity threhold]' \
|
||||
'sens[set the sensitivity threshold]' \
|
||||
'mode[set operating mode]' \
|
||||
'ap[register with given access point]' \
|
||||
'(nick nickname)'nick{,name}'[set the nickname]' \
|
||||
|
@ -62,7 +62,7 @@ if [[ -n "$state" ]]; then
|
|||
'txpower[set transmit power]' \
|
||||
'retry[set number of retries]' \
|
||||
'modu[force a specific set of modulations]' \
|
||||
'commit[apply changes imediately]' && ret=0
|
||||
'commit[apply changes immediately]' && ret=0
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
|
|
@ -56,15 +56,15 @@ _layouts () {
|
|||
'f9[far copies]'
|
||||
;;
|
||||
faulty)
|
||||
_values -S \ "Failure mode" \
|
||||
_values -S \ "failure mode" \
|
||||
{write-transient,wt}'[write-transient]' \
|
||||
{read-transient,rt}'[read-transient]' \
|
||||
{write-presistent,wp}'[write-presistent]' \
|
||||
{read-presistent,rp}'[read-presistent]' \
|
||||
{write-persistent,wp}'[write-persistent]' \
|
||||
{read-persistent,rp}'[read-persistent]' \
|
||||
write-all'[write-all]' \
|
||||
{read-fixable,rf}'[read-fixable]' \
|
||||
{clear,none}'[remove any pending or periodic failure modes]' \
|
||||
flush'[clear any persistant faults]'
|
||||
flush'[clear any persistent faults]'
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
|
@ -682,7 +682,7 @@ _dladm() {
|
|||
'(-f --force)'{-f,--force}'[force partition creation]' \
|
||||
'(-l --link)'{-l,--link}'[IP-over-IB physical link name]:IB link:_dladm_iblinks' \
|
||||
'(-p --prop)'{-p,--prop}'[set link properties]:link property:_values -s , "property" ${(M)linkprops_nonvlanvnic\:#*\:*} ${(M)linkprops_general\:#*\:*}' \
|
||||
'(-P --pkey)'{-P,--pkey}'[set parition key]:hex number:' \
|
||||
'(-P --pkey)'{-P,--pkey}'[set partition key]:hex number' \
|
||||
':partition link name:'
|
||||
;;
|
||||
|
||||
|
|
|
@ -217,7 +217,7 @@ _adb_pm_list () {
|
|||
(permissions)
|
||||
_arguments -s '-g[organize by group]' \
|
||||
'-f[print all information]' \
|
||||
'-d[only list dangerous pemissions]' \
|
||||
'-d[only list dangerous permissions]' \
|
||||
'-u[only list user visible permissions]' \
|
||||
'-s[short summary]' \
|
||||
':'
|
||||
|
@ -282,7 +282,7 @@ _adb_activity_manager_handler () {
|
|||
_arguments -s '-r[print raw results]' \
|
||||
'-e[set argument NAME to VALUE]:<NAME> <VALUE>:' \
|
||||
'-p[write profiling data to FILE]:<FILE>:' \
|
||||
'-w[wait for instrumenation to finish]' \
|
||||
'-w[wait for instrumentation to finish]' \
|
||||
':'
|
||||
;;
|
||||
(profile)
|
||||
|
@ -307,7 +307,7 @@ _adb_package_manager_handler () {
|
|||
(( $+functions[_adb_installed_packages] )) && _adb_installed_packages
|
||||
;;
|
||||
(setInstallLocation)
|
||||
_wanted set_installlcation expl 'install location' compadd -d "(0:auto 1:internal 2:external)" 0 1 2
|
||||
_wanted install-locations expl 'install location' compadd -d "(0:auto 1:internal 2:external)" 0 1 2
|
||||
;;
|
||||
(getInstallLocation)
|
||||
;;
|
||||
|
|
|
@ -21,11 +21,11 @@ case $service in
|
|||
'(-d --dump -n --name)'{-n+,--name=}'[dump the value of the named extended attribute]' \
|
||||
'(-n --name -d --dump)'{-d,--dump}'[dump the values of all extended attributes]' \
|
||||
'(-e --encoding)'{-e+,--encoding=}'[encode values after retrieving them]:encoding:(text hex base64)' \
|
||||
'(-h --no-derference)'{-h,--no-dereference}'[do not follow symbolic links]' \
|
||||
'(-h --no-dereference)'{-h,--no-dereference}"[don't follow symbolic links]" \
|
||||
'(-m --match)'{-m+,--match=}'[only include attributes with names matching regex]:regular expression' \
|
||||
'--absolute-names[do not string leasing slash characters]' \
|
||||
"--absolute-names[don't strip leading slash characters]" \
|
||||
'--only-values[dump only attribute values]' \
|
||||
'(-R --recursive)'{-R,--recursive}'[list attributes of all files and directories recurively]' \
|
||||
'(-R --recursive)'{-R,--recursive}'[list attributes of all files and directories recursively]' \
|
||||
'(-P --physical -L --logical)'{-L,--logical}'[follow all symbolic links]' \
|
||||
'(-L --logical -P --physical)'{-P,--physical}'[skip all symbolic links]' \
|
||||
'(* -)--version[display version information]' \
|
||||
|
@ -39,7 +39,7 @@ case $service in
|
|||
'(-v --value)'{-v+,--value=}'[specify value for the attribute]' \
|
||||
'(-x --remove)'{-x+,--remove=}'[remove specified extended attribute]' \
|
||||
'(-n --name -v --value)--restore[restore extended attributes from dump file]:dump file:_files' \
|
||||
'(-h --no-derference)'{-h,--no-dereference}'[do not follow symbolic links]' \
|
||||
'(-h --no-dereference)'{-h,--no-dereference}"[don't follow symbolic links]" \
|
||||
'(* -)--version[display version information]' \
|
||||
'(* -)--help[display help information]' \
|
||||
'*:file:_files'
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# For gawk ver.3 and 4, in addition to POSIX.
|
||||
#
|
||||
# gawk's options '-W ...' (such as '-W help') are not supported.
|
||||
# gawk3 has some synomyms for long options (e.g., --compat is a synomym
|
||||
# gawk3 has some synonyms for long options (e.g., --compat is a synonym
|
||||
# for --traditional). These are not supported either.
|
||||
#
|
||||
# 'gawk -f<TAB>' will complete files in AWKPATH in addition to those in
|
||||
|
@ -33,7 +33,7 @@ case $variant in
|
|||
{-e,--source}'[pass program text in arg]:program text:'
|
||||
'(1)'{-E+,--exec}'[like -f, but safer for CGI]:program file:->script'
|
||||
'(- : *)'{-h,--help}'[print usage message and exit]'
|
||||
{-L-,--lint=-}'[warn about dubious or non-portable constructs]::flag:((fatal\:"treat warnings as fatal error" invalid\:"warn only about thigs that are actually invalid"))'
|
||||
{-L-,--lint=-}'[warn about dubious or non-portable constructs]::flag:((fatal\:"treat warnings as fatal error" invalid\:"warn only about things that are actually invalid"))'
|
||||
{-n,--non-decimal-data}'[auto-detect octal/hexadecimal values in input]'
|
||||
{-N,--use-lc-numeric}"[force use of locale's decimal point character]"
|
||||
{-O,--optimize}'[enable optimization]'
|
||||
|
|
|
@ -375,7 +375,7 @@ case $cmd in
|
|||
(gannotate|gblame|gpraise)
|
||||
args+=(
|
||||
'--all[show annotations on all lines]'
|
||||
'--plain[do not hightlight annotation lines]'
|
||||
"--plain[don't highlight annotation lines]"
|
||||
'*:files:_bzr_versionedFiles'
|
||||
)
|
||||
;;
|
||||
|
|
|
@ -211,7 +211,7 @@ __cdrdao-simulate-or-write () {
|
|||
$_cdrdao_common_toc_device_args \
|
||||
$_cdrdao_speed_arg \
|
||||
'--multi[do not close the session after successful write]' \
|
||||
'--overburn[allow overburing of medium]' \
|
||||
'--overburn[allow overburning of medium]' \
|
||||
'--full-burn[force burning to the outer disk edge]' \
|
||||
$_cdrdao_capacity_arg \
|
||||
$_cdrdao_eject_arg \
|
||||
|
|
|
@ -32,11 +32,11 @@ arg_generic=(
|
|||
'--help[display help]'
|
||||
'--version[display version]'
|
||||
'--title[todo title]:string: '
|
||||
'--date-format[strftime time formet]:time string: '
|
||||
'--date-format[strftime time format]:time string:_date_formats'
|
||||
'*--format[define format]:format:_todo_format'
|
||||
'*--use-format[output format]:format:_todo_format'
|
||||
'--sort[sort database]:sort expression:_todo_sort'
|
||||
'--paranoid[paranoid parmissions etc]'
|
||||
'--paranoid[paranoid permissions etc]'
|
||||
'--database-loaders[loader order]:database loader: '
|
||||
'--backup[backup database]:count: '
|
||||
'--timeout[display timeout]:seconds: '
|
||||
|
|
|
@ -77,7 +77,7 @@ argument_postfix=(
|
|||
'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]'
|
||||
'preload' '[eliminate unloadable images before displaying]'
|
||||
'full-screen' '[make the window fullscreen]'
|
||||
'geometry' '[limit window size]:geometry: '
|
||||
'auto-zoom' '[zoom picture to screen size]'
|
||||
|
@ -114,7 +114,7 @@ argument_postfix=(
|
|||
'thumb-width' '[montage mode: Thumbnail width]:pixels: '
|
||||
'thumb-height' '[montage mode: Thumbnail height]:pixels: '
|
||||
'limit-width' '[montage mode: Limit montage width]:pixels: '
|
||||
'limit-height' '[montage mode: Limit montage heihgt]:pixels: '
|
||||
'limit-height' '[montage mode: Limit montage height]:pixels: '
|
||||
'bg' '[montage mode: Background image]:file:_files'
|
||||
'alpha' '[montage mode: Thumbnail transparency level]:integer: '
|
||||
'font' '[index mode: Thumbnail info font]:font: '
|
||||
|
|
|
@ -14,7 +14,7 @@ _arguments \
|
|||
'(--color)--color=-[color matches]::color:(always auto never)' \
|
||||
'(-d --definition)'{-d,--definition}'[print locations of definitions]' \
|
||||
'(-e --regexp :)'{-e,--regexp}'[specify pattern]:pattern:_global_tags' \
|
||||
'(--encode-path)--encode-path=-[encode path charcters in hexadecimal representation]:format' \
|
||||
'(--encode-path)--encode-path=-[encode path characters in hexadecimal representation]:format' \
|
||||
'(-F --first-match)'{-f,--first-match}'[stop searching if tag is found in current tag file]' \
|
||||
'(--from-here)--from-here=-[decide tag type by context]:line_path:' \
|
||||
'(-G --basic-regexp :)'{-G,--basic-regexp}'[specify basic regexp to use]:word:_global_tags' \
|
||||
|
@ -23,9 +23,9 @@ _arguments \
|
|||
'(-i --ignore-case)'{-i,--ignore-case}'[ignore case in patterns]' \
|
||||
'(-L --file-list)'{-L,--file-list}'[obtain files from file in addition to the arguments]:file:_files' \
|
||||
'(-l --local)'{-l,--local}'[print just objects which exist under the current directory]' \
|
||||
'(--literal)--literal[use leteral search instead of regexp search]' \
|
||||
'(--literal)--literal[use literal search instead of regexp search]' \
|
||||
'(-M --match-case)'{-m,--match-case}'[enable case sensitive search]' \
|
||||
'(--match-part)--match-part=-[speficy how path name completion should match]::part:(first last all)' \
|
||||
'(--match-part)--match-part=-[specify how path name completion should match]::part:(first last all)' \
|
||||
'(-n --nofilter)'{-n,--nofilter}'[suppress sort filter and path conversion filter]' \
|
||||
'(-O --only-other)'{-O,--only-other}'[search only text files]' \
|
||||
'(-o --other)'{-o,--other}'[search in other files, not just source files (with -g)]' \
|
||||
|
|
|
@ -27,7 +27,7 @@ _arguments \
|
|||
'-I[add search dir for soelim]:directory:_files -/' \
|
||||
'-l[send output to spooler program for printing]' \
|
||||
'*-L[pass arg to spooler program]:spooler argument:' \
|
||||
'-N[do not allow newlines within eqn delimeters]' \
|
||||
"-N[don't allow newlines within eqn delimiters]" \
|
||||
'-p[preprocess with pic]' \
|
||||
'*-P[pass option to postprocessor]:option:' \
|
||||
'-R[preprocess with refer]' \
|
||||
|
|
|
@ -218,7 +218,7 @@ else
|
|||
'-check-session[check old session for compliance against current rules]' \
|
||||
'-copyright[specify the path and file-name of the copyright file]' \
|
||||
'-d[omit trailing period from files that do not have a period]' \
|
||||
'-D[do not use deep directory-realocation]' \
|
||||
"-D[don't use deep directory-reallocation]" \
|
||||
'-dir-mode[specify the mode of directories]' \
|
||||
'-dvd-video[generate a DVD-Video compliant UDF file-system]' \
|
||||
'-f[follow symbolic links when generating the file system]' \
|
||||
|
@ -250,7 +250,7 @@ else
|
|||
{-nobak,-no-bak}'[do not include backup files on the ISO9660 file-system]' \
|
||||
'-force-rr[do not use the automatic Rock Ridge attribute-recognition for previous sessions]' \
|
||||
'-no-rr[do not use use the Rock Ridge attributes from previous sessions]' \
|
||||
'-no-split-symlink-components[do not split the symbolic-link compontents]' \
|
||||
"-no-split-symlink-components[don't split the symbolic-link components]" \
|
||||
'-no-split-symlink-fields[do not split the symbolic-link fields]' \
|
||||
'-o[output the ISO9660-file-system image to the given file]:ISO9660 image:_files' \
|
||||
'-pad[pad the end of the image by 150 sectors]' \
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
typeset -g -a -U _initctl_events_list _initctl_eventargs_list
|
||||
|
||||
# run show-config -e and if possible parse out all events and KEY= argumnts
|
||||
# run show-config -e and if possible parse out all events and KEY= arguments
|
||||
# otherwise provide some common values
|
||||
_initctl_fillarray_events_args ()
|
||||
{
|
||||
|
@ -169,7 +169,7 @@ _initctl()
|
|||
# define fallback completion function
|
||||
local cmd_completion_default=basic
|
||||
|
||||
# depending on which command was used, call different completion funtions
|
||||
# depending on which command was used, call different completion functions
|
||||
case $service in
|
||||
initctl)
|
||||
_arguments "${common_args[@]}" '*::Initctl Commands:_initctl_command'
|
||||
|
|
|
@ -70,7 +70,7 @@ case $OSTYPE:l in
|
|||
args=(
|
||||
'-c[report percentage of time the system spent in user/system mode, dtrace probes and idling]'
|
||||
'-C[report extended disk statistics aggregated by controller id, when used with -x]'
|
||||
'-d[report the number of kilobytes tranferred per second, tranfers per second and average service time]'
|
||||
'-d[report kilobytes transferred per second, transfers per second and average service time]'
|
||||
'-D[report reads/writes per second and percentage disk utilization]'
|
||||
'-e[display device error summary statistics]'
|
||||
'-E[display all device error statistics]'
|
||||
|
@ -78,7 +78,7 @@ case $OSTYPE:l in
|
|||
'-I[report counts in each interval]'
|
||||
'-l[limit the number of disks included in the report]:number of disks'
|
||||
'-m[report file system mount points]'
|
||||
'-M[display data throughtput in MB/sec instead of KB/sec]'
|
||||
'-M[display data throughput in MB/sec instead of KB/sec]'
|
||||
'-n[display names in descriptive format]'
|
||||
'-p[report per-partition statistics]'
|
||||
'-P[report per-partition statistics only]'
|
||||
|
@ -98,7 +98,7 @@ case $OSTYPE:l in
|
|||
'-C[display CPU statistics]'
|
||||
'-c[number of times to display statistics]'
|
||||
'-d[display only device statistics]'
|
||||
'-l[total statstics for a given time period]'
|
||||
'-l[total statistics for a given time period]'
|
||||
'-K[display block count in kilobytes]'
|
||||
'-n[limit the number of disks included in the report]:number of disks'
|
||||
'-o[display old-style iostat device statistics]'
|
||||
|
|
|
@ -98,7 +98,7 @@ subcmd_lockmtu=("(" /$'lock\0'/ ":lock:lock:(lock)" "|" ")" $subcmd_number )
|
|||
local -a subcmd_nexthop
|
||||
_regex_words nexthop 'nexthop route keyword' \
|
||||
'via:specify nexthop router:$subcmd_ipaddr' \
|
||||
'dev:sepcify output device:$subcmd_dev' \
|
||||
'dev:specify output device:$subcmd_dev' \
|
||||
'weight:specify relative quality of route:$subcmd_number'
|
||||
subcmd_nexthop=("$reply[@]" "#")
|
||||
|
||||
|
@ -107,7 +107,7 @@ _regex_words rtprotocol 'route protocol' \
|
|||
'redirect:installed from ICMP redirect' \
|
||||
'kernel:installed automatically by kernel' \
|
||||
'boot:installed during boot sequence' \
|
||||
'static:installed by adminstrator' \
|
||||
'static:installed by administrator' \
|
||||
'ra:installed by Router Discovery protocol'
|
||||
subcmd_rtprotocol=("$reply[@]")
|
||||
|
||||
|
@ -175,7 +175,7 @@ _regex_words \
|
|||
'do*wn:change state do down' \
|
||||
'ar*p:change ARP flag on device:$subcmd_onoff' \
|
||||
'mu*lticast:change MULTICAST flag on device:$subcmd_onoff' \
|
||||
'pr*omisc:set promiscious mode:$subcmd_onoff' \
|
||||
'pr*omisc:set promiscuous mode:$subcmd_onoff' \
|
||||
'dy*namic:change DYNAMIC flag on device:$subcmd_onoff' \
|
||||
'n*ame:change name of device:$subcmd_string' \
|
||||
'txq*ueuelen:specify length of transmit queue:$subcmd_number' \
|
||||
|
@ -490,7 +490,7 @@ maddr_cmds=("$reply[@]")
|
|||
# mroute
|
||||
#
|
||||
local -a mroute_show_cmds
|
||||
_regex_words mroute-show-comnands "mroute show command" \
|
||||
_regex_words mroute-show-commands "mroute show command" \
|
||||
'to:select destination prefix:$subcmd_ipaddr' \
|
||||
'iif:select input interface (device):$subcmd_dev' \
|
||||
'from:select source prefix:$subcmd_ipaddr'
|
||||
|
|
|
@ -71,7 +71,7 @@ java)
|
|||
'-verbose\:gc[print gc information]' \
|
||||
'-verbose\:jni[print JNI information]' \
|
||||
'(- 1)-version[print version]' \
|
||||
'-showversion[print version and contrinue]' \
|
||||
'-showversion[print version and continue]' \
|
||||
'(- 1)-'{\?,help}'[print help message]' \
|
||||
'(- 1)-X-[non-standard java option]:option' \
|
||||
'(- 1)-jar[specify a program encapsulated as jar]:jar:_files -g \*.jar\(-.\)' \
|
||||
|
|
|
@ -62,7 +62,7 @@ else
|
|||
[[ $OSTYPE == (freebsd*|dragonfly*) ]] && bsd_opts=(
|
||||
'-D[create BSD-style output]' \
|
||||
'-U[ignore undefined character symbols]' \
|
||||
'-v[verbose deguggin output]' \
|
||||
'-v[verbose debug output]' \
|
||||
'-w+[specify width file]:width file:_files' \
|
||||
)
|
||||
|
||||
|
|
|
@ -184,7 +184,7 @@ _make() {
|
|||
'(-j --jobs)'{-j,--jobs=}'[allow N jobs at once; infinite jobs with no arg]:number of jobs'
|
||||
'(-k --keep-going)'{-k,--keep-going}"[keep going when some targets can't be made]"
|
||||
'(-l --load-average --max-load)'{-l,--load-average=,--max-load}"[don't start multiple jobs unless load is below N]:load"
|
||||
'(-L --check-symlik-times)'{-L,--check-symlink-times}'[use the latest mtime between symlinks and target]'
|
||||
'(-L --check-symlink-times)'{-L,--check-symlink-times}'[use the latest mtime between symlinks and target]'
|
||||
'(-n --just-print --dry-run --recon)'{-n,--just-print,--dry-run,--recon}"[don't actually run any recipe; just print them]"
|
||||
'*'{-o,--old-file=,--assume-old=}"[consider specified file to be old and don't remake it]:file not to remake:->file"
|
||||
'(-O --output-sync)'{-O-,--output-sync=-}'[synchronize output of parallel jobs]::granularity for grouping output:compadd -E 0 none line target recurse'
|
||||
|
|
|
@ -10,7 +10,7 @@ _arguments -C \
|
|||
'(--quiet -q)'{-q,--quiet}'[no top information]' \
|
||||
'(--nocolor -n)'{-n,--nocolor}'[noncolored output]' \
|
||||
'(--icolor -i)'{-i,--icolor}'[intersection color]:color:(red green blue yellow violet cyan shiny bold)' \
|
||||
'(-)'{-h,--help}'[display help informaiton]' \
|
||||
'(-)'{-h,--help}'[display help information]' \
|
||||
'(-)'{-V,--version}'[print version information]' \
|
||||
\*{-c,--config}'[config]:options:->option' && ret=0
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ _module()
|
|||
"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"
|
||||
"apropos: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"
|
||||
|
|
|
@ -35,7 +35,7 @@ _arguments -s \
|
|||
'(-m)-M-[MIME encode]:mime encode:((\:header B\:base64 Q\:quoted))' \
|
||||
'-h-[hirakana<->katakana]:hirakata:((1\:hirakana-\>katakana 2\:katakana-\>hirakana 3\:both))' \
|
||||
'-L-[line mode]:line mode:((u\:LF w\:CRLF m\:CR))' \
|
||||
'-I[Convert non ISO-2022-JP charactor to GETA]' \
|
||||
'-I[convert non ISO-2022-JP character to GETA]' \
|
||||
'(--cap-input --url-input)'{--cap-input,--url-input}'[Convert hex after \: or \%]' \
|
||||
'--overwrite[Overwrite original listed files by filtered result]' \
|
||||
'(-v --help)'{-v,--help}'[display help message]' \
|
||||
|
|
|
@ -5,7 +5,7 @@ local curcontext="$curcontext" state line suf ret=1
|
|||
_arguments -C \
|
||||
'!-sI:zombie host:_hosts' \
|
||||
'!-P'{T,S,U}'+:port list' \
|
||||
'*-s-[specify scan type]:scan type:((S\:TCP\ SYN\ scan T\:TCP\ connect\(\)\ scan F\:stealth\ FIN\ scan X\:stealth\ Xmas\ tree\ scan N\:stealth\ null\ scan P\:ping\ scanning U\:UDP\ scan O\:IP\ prototocol\ scan I\:idle\ scan A\:ACK\ scan W\:window\ scan R\:RPC\ scan L\:list\ scan V\:version\ detection))' \
|
||||
'*-s-[specify scan type]:scan type:((S\:TCP\ SYN\ scan T\:TCP\ connect\(\)\ scan F\:stealth\ FIN\ scan X\:stealth\ Xmas\ tree\ scan N\:stealth\ null\ scan P\:ping\ scanning U\:UDP\ scan O\:IP\ protocol\ scan I\:idle\ scan A\:ACK\ scan W\:window\ scan R\:RPC\ scan L\:list\ scan V\:version\ detection))' \
|
||||
'-b[specify ftp relay host]:ftp relay host:_hosts' \
|
||||
'*-P-[specify probe types and options]:probe type/options:->probe-opts' \
|
||||
'-A[enable OS detection and version scanning]' \
|
||||
|
@ -29,7 +29,7 @@ _arguments -C \
|
|||
'--data_length[add random data to packets]:data length' \
|
||||
'(-R)-n[skip reverse DNS to speed things up]' \
|
||||
'(-n)-R[always do reverse DNS on targets]' \
|
||||
'-r[do not ramdomize order in which ports are scanned]' \
|
||||
"-r[don't randomize order in which ports are scanned]" \
|
||||
'-ttl[specify IPv4 time to live for sent packets]' \
|
||||
'--randomize_hosts[scan hosts in random order]' \
|
||||
'-M[specify maximum number of parallel TCP connects]:maximum TCP connects' \
|
||||
|
|
|
@ -698,7 +698,7 @@ ppmtoacad)
|
|||
ppmtobmp)
|
||||
_arguments \
|
||||
'(-windows)-os2' '(-os2)-windows' \
|
||||
'-bpp[secify bits per pixel for BMP file]:bits per pixel:(1 4 8 24)' \
|
||||
'-bpp[specify bits per pixel for BMP file]:bits per pixel:(1 4 8 24)' \
|
||||
':file:_pbm'
|
||||
;;
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ common=(
|
|||
'-ow[save or restore file owner and group]'
|
||||
'-p+:password'
|
||||
'-p\-[do not query password]'
|
||||
'-r[recurse subdirectorie]'
|
||||
'-r[recurse subdirectories]'
|
||||
'-ta+[process files modified after a date]:date (YYYYMMDDHHMMSS)'
|
||||
'-tb+[process files modified before a date]:date (YYYYMMDDHHMMSS)'
|
||||
'-tn+[process files newer than a specified time]:time'
|
||||
|
|
|
@ -23,7 +23,7 @@ _arguments -s -C -M 'r:|[_-]=* r:|=*' \
|
|||
'(--convert --to -C)-I[texinfo output, not maintained]' \
|
||||
'(--convert --to -C)-L[print license info]' \
|
||||
'(--convert --to -C)-M[maintenance mode, retain intermediate processing files]' \
|
||||
'(--convert --to -C)-m[create intermediate markup file, metaverse, assumed for most output instuctions]' \
|
||||
'(--convert --to -C)-m[create intermediate markup file, metaverse, assumed for most output instructions]' \
|
||||
'(--convert --to -C)-N[document content certificate, output document digests]' \
|
||||
'(--convert --to -C)-n[skip intermediate markup, skip -m]' \
|
||||
'(--convert --to -C)-o[Open Document text format output]' \
|
||||
|
|
|
@ -17,7 +17,7 @@ _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' \
|
||||
'-C[send sql statement to server]:sql' \
|
||||
'-D[change database context on startup]:database' \
|
||||
'-E[replace default editor (vi)]:editor' \
|
||||
'-H[set the client hostname]:reported hostname' \
|
||||
|
|
|
@ -118,7 +118,7 @@ case $state in
|
|||
deblists)
|
||||
_arguments $args \
|
||||
'-shelp[go to search help page]' \
|
||||
'-results=-[specifiy number of results to return]:number' \
|
||||
'-results=-[specify number of results to return]:number' \
|
||||
'-dates=-[quarters to search]:date' \
|
||||
'-case[use case sensitive search]' \
|
||||
'-errors=-[specify errors allowed]:errors:(0 1 2 best)' \
|
||||
|
|
|
@ -13,12 +13,12 @@ typeset -A opt_args
|
|||
_arguments -C -s -S \
|
||||
'(-c --check --check-verbose)'{-c,--check}'[check units are reducible]' \
|
||||
'(-c --check)--check-verbose[verbosely check units are reducible]' \
|
||||
'(-o --output-format)'{-o,--output-format}'[specify output format]:printf formt: ' \
|
||||
'(-o --output-format)'{-o,--output-format}'[specify output format]:printf format' \
|
||||
'(-f --file)'{-f,--file}'[specify file with units]:units file:_files' \
|
||||
'(-m --minus)'{-m,--minus}'[- is subtraction]' \
|
||||
'(-p --product)'{-p,--product}'[binary - is product]' \
|
||||
'(-q --quiet --silent)'{-q,--quiet,--silent}'[suppress prompts and statistics]' \
|
||||
'(-s --strict)'{-s,--strict}'[suppress conversion to reciprocals units]' \
|
||||
'(-s --strict)'{-s,--strict}'[suppress conversion to reciprocal units]' \
|
||||
'(-t --terse)'{-t,--terse}'[make conversion output briefer]' \
|
||||
'(-v --verbose)'{-v,--verbose}'[make output more verbose]' \
|
||||
'(- *)'{-h,--help}'[show help information and exit]' \
|
||||
|
|
|
@ -9,7 +9,7 @@ _arguments \
|
|||
'(-w --words -l --lines)'{-w,--words}'[make operations and display word based]' \
|
||||
'(-l --lines -w --words)'{-l,--lines}'[make operations and display line based]' \
|
||||
'(-p --patch)'{-p,--patch}'[treat last named file as a patch]' \
|
||||
'(-r --replace)'{-r,--replace}'[replace orginal file with merged output]' \
|
||||
'(-r --replace)'{-r,--replace}'[replace original file with merged output]' \
|
||||
'(-R --reverse -x --extract)'{-R,--reverse}'[swap the files or revert changes]' \
|
||||
'(-2 -3 -m --merge)-1[select branch]' \
|
||||
'(-1 -3 -m --merge)-2[select branch]' \
|
||||
|
|
Loading…
Reference in a new issue