diff options
Diffstat (limited to 'Completion/BSD')
-rw-r--r-- | Completion/BSD/Command/_csup | 26 | ||||
-rw-r--r-- | Completion/BSD/Command/_fetch | 44 | ||||
-rw-r--r-- | Completion/BSD/Command/_freebsd-update | 24 | ||||
-rw-r--r-- | Completion/BSD/Command/_fstat | 18 | ||||
-rw-r--r-- | Completion/BSD/Command/_pfctl | 132 | ||||
-rw-r--r-- | Completion/BSD/Command/_portaudit | 20 | ||||
-rw-r--r-- | Completion/BSD/Command/_portmaster | 10 | ||||
-rw-r--r-- | Completion/BSD/Command/_portsnap | 22 | ||||
-rw-r--r-- | Completion/BSD/Command/_powerd | 8 | ||||
-rw-r--r-- | Completion/BSD/Command/_procstat | 20 |
10 files changed, 162 insertions, 162 deletions
diff --git a/Completion/BSD/Command/_csup b/Completion/BSD/Command/_csup index b4d345ee5..69e13f3d1 100644 --- a/Completion/BSD/Command/_csup +++ b/Completion/BSD/Command/_csup @@ -2,21 +2,21 @@ _arguments -s \ '-1[disable automatic retries]' \ - '-4[Force usage of IPv4 addresses]' \ - '-6[Force usage of IPv6 addresses]' \ - '-A[Local address to bind to when connecting to the server]:local address:_hosts' \ - '-b[Base directory]:base directory:_files -/' \ - '-c[Subdirectory of base for information about collections]:collections directory:_files -/' \ + '-4[force usage of IPv4 addresses]' \ + '-6[force usage of IPv6 addresses]' \ + '-A[local address to bind to when connecting to the server]:local address:_hosts' \ + '-b[base directory]:base directory:_files -/' \ + '-c[subdirectory of base for information about collections]:collections directory:_files -/' \ '-d[maximum number of deleted files]:maximum number of deleted files:' \ - '-h[Server host]:server host:_hosts' \ - '-i[Include only files and directories matching]:file pattern:' \ + '-h[server host]:server host:_hosts' \ + '-i[include only files and directories matching]:file pattern:' \ '-k[keep temporary copies of failed updates]' \ - '-l[Lock file]:lock file:_files' \ - '-L[Verbosity level]:verbosity level:(0 1 2)' \ - '-L0[Verbosity level 0]' \ - '-L1[Verbosity level 1]' \ - '-L2[Verbosity level 2]' \ - '-p[Server port]:port:_ports' \ + '-l[lock file]:lock file:_files' \ + '-L[verbosity level]:verbosity level:(0 1 2)' \ + '-L0[verbosity level 0]' \ + '-L1[verbosity level 1]' \ + '-L2[verbosity level 2]' \ + '-p[server port]:port:_ports' \ '-r[maximum number of retries]:maximum number of retries:' \ '-s[suppress status checks]' \ '-v[print version information]' \ diff --git a/Completion/BSD/Command/_fetch b/Completion/BSD/Command/_fetch index 7ca59b2e0..3136763a0 100644 --- a/Completion/BSD/Command/_fetch +++ b/Completion/BSD/Command/_fetch @@ -2,29 +2,29 @@ # Deprecated arguments are removed from the completion _arguments -s \ - '-1[Stop and return exit code 0 at the first successfully retrieved file]' \ - '-4[Forces fetch to use IPv4 addresses only]' \ - '-6[Forces fetch to use IPv6 addresses only]' \ - '-A[Do not automatically follow "temporary" (302) redirects]' \ - '-a[Automatically retry the transfer upon soft failures]' \ - '-B[Specify the read buffer size in bytes]:bytes:' \ - '-d[Use a direct connection even if a proxy is configured]' \ - '-F[In combination with the -r flag, forces a restart]' \ - '-l[If the target is a file-scheme URL, make a symbolic link to the target]' \ + '-1[stop and return exit code 0 at the first successfully retrieved file]' \ + '-4[forces fetch to use IPv4 addresses only]' \ + '-6[forces fetch to use IPv6 addresses only]' \ + '-A[do not automatically follow "temporary" (302) redirects]' \ + '-a[automatically retry the transfer upon soft failures]' \ + '-B[specify the read buffer size in bytes]:bytes:' \ + '-d[use a direct connection even if a proxy is configured]' \ + '-F[in combination with the -r flag, forces a restart]' \ + '-l[if the target is a file-scheme URL, make a symbolic link to the target]' \ '-M' \ - '-m[Mirror mode]' \ - '-N[Use file instead of ~/.netrc to look up login names and pass- words for FTP sites]' \ - '-n[Do not preserve the modification time]' \ - '-o[Set the output file name]:file:_files' \ + '-m[mirror mode]' \ + '-N[use file instead of ~/.netrc to look up login names and pass- words for FTP sites]' \ + '-n[do not preserve the modification time]' \ + '-o[set the output file name]:file:_files' \ '-P' \ - '-p[Use passive FTP]' \ - '-q[Quiet mode]' \ - '-R[Do not delete the output file in any circumstances]' \ - '-r[Restart a previously interrupted transfer]' \ - '-S[Require the file size reported by the server to match the specified value]' \ - '-s[Print the size in bytes, without fetching it]' \ - '-T[Set timeout value]:seconds:' \ - '-U[When using passive FTP, allocate the port for the data connection from the low port range]' \ - '-v[Increase verbosity level]' \ + '-p[use passive FTP]' \ + '-q[quiet mode]' \ + '-R[do not delete the output file in any circumstances]' \ + '-r[restart a previously interrupted transfer]' \ + '-S[require the file size reported by the server to match the specified value]' \ + '-s[print the size in bytes, without fetching it]' \ + '-T[set timeout value]:seconds:' \ + '-U[when using passive FTP, allocate the port for the data connection from the low port range]' \ + '-v[increase verbosity level]' \ '-w[wait successive retries]:seconds:' \ '*:URL to fetch:_urls' diff --git a/Completion/BSD/Command/_freebsd-update b/Completion/BSD/Command/_freebsd-update index a47ac21d6..11235bad0 100644 --- a/Completion/BSD/Command/_freebsd-update +++ b/Completion/BSD/Command/_freebsd-update @@ -2,19 +2,19 @@ local flags flags=( - '(cron)fetch[Fetch a compressed snapshot or update existing one]' - '(fetch)cron[Sleep rand(3600) seconds, and then fetch updates]' - '(install rollback)upgrade[Fetch files necessary for upgrading to a new release]' - '(upgrade rollback)install[Install the most recently fetched updates or upgrade]' - '(upgrade install)rollback[Uninstall the most recently installed updates]' + '(cron)fetch[fetch a compressed snapshot or update existing one]' + '(fetch)cron[sleep rand(3600) seconds, and then fetch updates]' + '(install rollback)upgrade[fetch files necessary for upgrading to a new release]' + '(upgrade rollback)install[install the most recently fetched updates or upgrade]' + '(upgrade install)rollback[uninstall the most recently installed updates]' ) _arguments -s \ - '-b[Operate on a system mounted at basedir]:basedir:_files -/' \ - '-d[Store working files in workdir]:workdir:_files -/' \ - '-f[Read configuration options from conffile]:conf file:_files' \ - '-k[Trust an RSA key with SHA256 of KEY]:RSA key:' \ - '-r[Specify the new release]:new release:' \ - '-s[Fetch files from the specified server or server pool]:server:_hosts' \ - '-f[Mail output of cron command, if any, to address]:address:' \ + '-b[operate on a system mounted at basedir]:basedir:_files -/' \ + '-d[store working files in workdir]:workdir:_files -/' \ + '-f[read configuration options from conffile]:conf file:_files' \ + '-k[trust an RSA key with SHA256 of KEY]:RSA key:' \ + '-r[specify the new release]:new release:' \ + '-s[fetch files from the specified server or server pool]:server:_hosts' \ + '-f[mail output of cron command, if any, to address]:address:' \ ':command:_values -S " " -w "commands" $flags[@]' diff --git a/Completion/BSD/Command/_fstat b/Completion/BSD/Command/_fstat index 81948b21d..3e8d61733 100644 --- a/Completion/BSD/Command/_fstat +++ b/Completion/BSD/Command/_fstat @@ -4,12 +4,12 @@ local pids pids=(${${${(f)"$(/usr/bin/procstat -ah)"}/[[:space:]]#/}/[[:space:]]*[[:space:]](ELF[[:digit:]]#[[:space:]]|-[[:space:]]#)/:}) _arguments -s \ -'-f[Restrict examination to files open in the same file systems as the named file arguments]' \ -'-M[Extract values associated with the name list from the specified core]:core:_files' \ -'-N[Extract the name list from the specified system]:system:' \ -'-m[Include memory-mapped files in the listing]' \ -'-n[Numerical format]' \ -'-p[Report all files open by the specified process]:Process id:(($pids))' \ -'-u[Report all files open by the specified user]:User:_users' \ -'-v[Verbose mode]' \ -'*:Files:_files' +'-f[restrict examination to files open in the same file systems as the named file arguments]' \ +'-M[extract values associated with the name list from the specified core]:core:_files' \ +'-N[extract the name list from the specified system]:system:' \ +'-m[include memory-mapped files in the listing]' \ +'-n[numerical format]' \ +'-p[report all files open by the specified process]:process id:(($pids))' \ +'-u[report all files open by the specified user]:user:_users' \ +'-v[verbose mode]' \ +'*:files:_files' diff --git a/Completion/BSD/Command/_pfctl b/Completion/BSD/Command/_pfctl index bb185f463..1a2345b66 100644 --- a/Completion/BSD/Command/_pfctl +++ b/Completion/BSD/Command/_pfctl @@ -3,56 +3,56 @@ local pfctl_flush_modifiers pfctl_optimizer_level pfctl_show_modifiers pfctl_tables_command pfctl_debug_level pfctl_flush_modifiers=( - 'all:Flush all' - 'info:Flush the filter information' - 'nat:Flush the NAT rules' - 'osfp:Flush the passive operating system fingerprints' - 'queue:Flush the queue rules' - 'rules:Flush the filter rules' - 'state:Flush the stable table' - 'Sources:Flush the source tracking table' - 'Tables:Flush the tables' + 'all:flush all' + 'info:flush the filter information' + 'nat:flush the NAT rules' + 'osfp:flush the passive operating system fingerprints' + 'queue:flush the queue rules' + 'rules:flush the filter rules' + 'state:flush the stable table' + 'Sources:flush the source tracking table' + 'Tables:flush the tables' ) pfctl_show_modifiers=( - 'nat:Show the currently loaded NAT rules' - 'queue:Show the currently loaded queue rules' - 'rules:Show the currently loaded filter rules' - 'Anchors:Show the currently loaded anchors directly attached to the main ruleset' - 'state:Show the contents of the state table' - 'Sources:Show the contents of the source tracking table' - 'info:Show filter information' - 'labels:Show per-rule statistics of filter rules with labels' - 'timeouts:Show the current global timeouts' - 'memory:Show the current pool memory hard limits' - 'Tables:Show the list of tables' - 'osfp:Show the list of operating system fingerprints' - 'Interfaces:Show the list of interfaces and interface drivers available to PF' - 'all:Show all except for the lists of interfaces and operating system fingerprints' + 'nat:show the currently loaded NAT rules' + 'queue:show the currently loaded queue rules' + 'rules:show the currently loaded filter rules' + 'Anchors:show the currently loaded anchors directly attached to the main ruleset' + 'state:show the contents of the state table' + 'Sources:show the contents of the source tracking table' + 'info:show filter information' + 'labels:show per-rule statistics of filter rules with labels' + 'timeouts:show the current global timeouts' + 'memory:show the current pool memory hard limits' + 'Tables:show the list of tables' + 'osfp:show the list of operating system fingerprints' + 'Interfaces:show the list of interfaces and interface drivers available to PF' + 'all:show all except for the lists of interfaces and operating system fingerprints' ) pfctl_optimizer_level=( - 'none:Disable the ruleset optimizer' - 'basic:Enable basic ruleset optimizations' - 'profile:Enable basic ruleset optimizations with profiling' + 'none:disable the ruleset optimizer' + 'basic:enable basic ruleset optimizations' + 'profile:enable basic ruleset optimizations with profiling' ) pfctl_tables_command=( - 'kill:Kill a table' - 'flush:Flush all addresses of a table' - 'add:Add one or more addresses in a table' - 'delete:Delete one or more addresses from a table' - 'expire:Delete addresses which had their statistics cleared more than number seconds ago' - 'replace:Replace the addresses of the table' - 'show:Show the content (addresses) of a table' - 'test:Test if the given addresses match a table' - 'zero:Clear all the statistics of a table' - 'load:Load only the table definitions from pf.conf(5)' + 'kill:kill a table' + 'flush:flush all addresses of a table' + 'add:add one or more addresses in a table' + 'delete:delete one or more addresses from a table' + 'expire:delete addresses which had their statistics cleared more than number seconds ago' + 'replace:replace the addresses of the table' + 'show:show the content (addresses) of a table' + 'test:test if the given addresses match a table' + 'zero:clear all the statistics of a table' + 'load:load only the table definitions from pf.conf(5)' ) pfctl_debug_level=( - "none:Don\'t generate debug messages" - 'urgent:Generate debug messages only for serious errors' - 'misc:Generate debug messages for various errors' - 'loud:Generate debug messages for common conditions' + "none:don\'t generate debug messages" + 'urgent:generate debug messages only for serious errors' + 'misc:generate debug messages for various errors' + 'loud:generate debug messages for common conditions' ) _iface() { local pfctl_iface @@ -68,29 +68,29 @@ _tables() { # Missing -a # _arguments -s \ - '-F[Flush the filter parameters specified by modifier]:modifier:(($pfctl_flush_modifiers))' \ - '-A[Load only the queue rules present in the rule file]' \ - '-D[Define macro to be set to value]:macro:' \ - '-d[Disable the packet filter]' \ - '-e[Enable the packet filter]' \ - '-f[Load the rules contained in a file]:configuration file:_files' \ - '-g[Include output helpful for debugging]' \ - '-h[Help]' \ - '-i[Restrict the operation to the given interface]:interface:_iface' \ - '-K[Kill all of the source tracking entries originating from the specified host or network]:host or network:_hosts' \ - '-k[Kill all of the state entries originating from the specified host or network]:host or network:_hosts' \ - '-m[Merge in explicitly given options]' \ - '-N[Load only the NAT rules present in the rule file]' \ - '-n[Do not actually load rules, just parse them]' \ - '-O[Load only the options present in the rule file]' \ - '-o[Control the ruleset optimizer]:level:(($pfctl_optimizer_level))' \ - '-p[Use the device file device instead of the default /dev/pf]:device:_files' \ - '-q[Only print errors and warnings]' \ - '-R[Load only the filter rules present in the rule file]' \ - '-r[Perform reverse DNS lookups on states when displaying them]' \ - '-s[Show the filter parameters specified by modifier]:modifier:(($pfctl_show_modifiers ))' \ - '-T[Specify the command to apply to the table]:command:(($pfctl_tables_command))' \ - '-t[Specify the name of the table]:table:_tables' \ - '-v[Produce more verbose output]' \ - '-x[Set the debug level]:debug level:(($pfctl_debug_level))' \ - '-z[Clear per-rule statistics]' + '-F[flush the filter parameters specified by modifier]:modifier:(($pfctl_flush_modifiers))' \ + '-A[load only the queue rules present in the rule file]' \ + '-D[define macro to be set to value]:macro:' \ + '-d[disable the packet filter]' \ + '-e[enable the packet filter]' \ + '-f[load the rules contained in a file]:configuration file:_files' \ + '-g[include output helpful for debugging]' \ + '-h[help]' \ + '-i[restrict the operation to the given interface]:interface:_iface' \ + '-K[kill all of the source tracking entries originating from the specified host or network]:host or network:_hosts' \ + '-k[kill all of the state entries originating from the specified host or network]:host or network:_hosts' \ + '-m[merge in explicitly given options]' \ + '-N[load only the NAT rules present in the rule file]' \ + '-n[do not actually load rules, just parse them]' \ + '-O[load only the options present in the rule file]' \ + '-o[control the ruleset optimizer]:level:(($pfctl_optimizer_level))' \ + '-p[use the device file device instead of the default /dev/pf]:device:_files' \ + '-q[only print errors and warnings]' \ + '-R[load only the filter rules present in the rule file]' \ + '-r[perform reverse DNS lookups on states when displaying them]' \ + '-s[show the filter parameters specified by modifier]:modifier:(($pfctl_show_modifiers ))' \ + '-T[specify the command to apply to the table]:command:(($pfctl_tables_command))' \ + '-t[specify the name of the table]:table:_tables' \ + '-v[produce more verbose output]' \ + '-x[set the debug level]:debug level:(($pfctl_debug_level))' \ + '-z[clear per-rule statistics]' diff --git a/Completion/BSD/Command/_portaudit b/Completion/BSD/Command/_portaudit index 36f6d5f1c..bb942a824 100644 --- a/Completion/BSD/Command/_portaudit +++ b/Completion/BSD/Command/_portaudit @@ -1,14 +1,14 @@ #compdef portaudit _arguments -s \ - '-a[Vulnerability report for all installed packages]' \ - '-C[Vulnerability report for the port in the current working directory]' \ - '-d[Print creation date of the database]' \ - '-F[Fetch the current database]' \ - '-q[Quiet mode]' \ - '-V[Show portaudit version number]' \ - '-v[Verbose mode]' \ - '-X[Download a fresh database from least days old]:days:' \ - '-f[Check the packages listed in file]:file:_files' \ - '-r[Restrict listed vulnerabilities with eregex pattern]:eregex:' \ + '-a[vulnerability report for all installed packages]' \ + '-C[vulnerability report for the port in the current working directory]' \ + '-d[print creation date of the database]' \ + '-F[fetch the current database]' \ + '-q[quiet mode]' \ + '-V[show portaudit version number]' \ + '-v[verbose mode]' \ + '-X[download a fresh database from least days old]:days:' \ + '-f[check the packages listed in file]:file:_files' \ + '-r[restrict listed vulnerabilities with eregex pattern]:eregex:' \ ':pkg-name:' diff --git a/Completion/BSD/Command/_portmaster b/Completion/BSD/Command/_portmaster index 0fd34dc60..4c16e2d1b 100644 --- a/Completion/BSD/Command/_portmaster +++ b/Completion/BSD/Command/_portmaster @@ -77,7 +77,7 @@ _portmaster() { _arguments -s \ $standalone_args \ $common_args \ - '*:Packages and Ports:_portmaster_pkgs_and_ports' + '*:packages and ports:_portmaster_pkgs_and_ports' else case "$words[2]" in --clean-distfiles|--clean-distfiles-all|--check-depends|--check-port-dbdir|--version|-help|-h) @@ -86,14 +86,14 @@ _portmaster() { *) if (( $words[(I)-(e|r)] ));then _arguments -s \ - '*:Packages:_portmaster_pkgs' + '*:packages:_portmaster_pkgs' elif (( kid=$words[(I)-o] ));then if (( CURRENT == $kid + 1 ));then _arguments -s \ - '*:Ports replacing:_portmaster_ports' + '*:ports replacing:_portmaster_ports' elif (( CURRENT == $kid + 2 )); then _arguments -s \ - '*:Package to replace:_portmaster_pkgs' + '*:package to replace:_portmaster_pkgs' else return 0 fi @@ -102,7 +102,7 @@ _portmaster() { else _arguments -s \ $common_args \ - '*:Packages and Ports:_portmaster_pkgs_and_ports' + '*:packages and ports:_portmaster_pkgs_and_ports' fi ;; esac diff --git a/Completion/BSD/Command/_portsnap b/Completion/BSD/Command/_portsnap index 505c7a321..db71fbc60 100644 --- a/Completion/BSD/Command/_portsnap +++ b/Completion/BSD/Command/_portsnap @@ -4,20 +4,20 @@ local context state line typeset -A opt_args flags=( - '(cron)fetch[Fetch a compressed snapshot or update existing one]' - '(fetch)cron[Sleep rand(3600) seconds, and then fetch updates]' - '(update)extract[Extract snapshot, replacing existing files and dirs]' - '(extract)update[Update ports tree to match current snapshot]' + '(cron)fetch[fetch a compressed snapshot or update existing one]' + '(fetch)cron[sleep rand(3600) seconds, and then fetch updates]' + '(update)extract[extract snapshot, replacing existing files and dirs]' + '(extract)update[update ports tree to match current snapshot]' ) _arguments -C -s \ - '-d[Store working files in workdir]:workdir:_files -/' \ - '-f[Read configuration options from conffile]:conf file:_files' \ - '-I[Update INDEX only. (update command only)]' \ - '-k[Trust an RSA key with SHA256 hash of KEY]:RSA key:_files' \ - '-l[Merge the specified local describes file into the INDEX]:file:_files' \ - '-p[Location of uncompressed ports tree]:uncompressed ports tree:_files -/' \ - '-s[Server from which to fetch updates]:server:_hosts' \ + '-d[store working files in workdir]:workdir:_files -/' \ + '-f[read configuration options from conffile]:conf file:_files' \ + '-I[update INDEX only. (update command only)]' \ + '-k[trust an RSA key with SHA256 hash of KEY]:RSA key:_files' \ + '-l[merge the specified local describes file into the INDEX]:file:_files' \ + '-p[location of uncompressed ports tree]:uncompressed ports tree:_files -/' \ + '-s[server from which to fetch updates]:server:_hosts' \ '*:principal:->principal' && ret=0 if [[ $state == principal ]]; then diff --git a/Completion/BSD/Command/_powerd b/Completion/BSD/Command/_powerd index 8b275ed89..18a9fb437 100644 --- a/Completion/BSD/Command/_powerd +++ b/Completion/BSD/Command/_powerd @@ -3,11 +3,11 @@ local powerd_mode powerd_mode=(minimum maximum adaptative) _arguments -s \ - "-a[Mode to use while on AC power]:mode:($powerd_mode)" \ - "-b[Mode to use while on battery power]:mode:($powerd_mode)" \ + "-a[mode to use while on AC power]:mode:($powerd_mode)" \ + "-b[mode to use while on battery power]:mode:($powerd_mode)" \ '-i[CPU idle percent level when begin to degrade performance]:percent:' \ "-n[mode to use normally when the AC line state is unknown]:mode:($powerd_mode)" \ '-p[polling interval (in milliseconds) for AC line state and system idle levels]:interval:' \ - '-P[Alternative pidfile]:pidfile:_files' \ + '-P[alternative pidfile]:pidfile:_files' \ '-r[CPU idle percent level where to increase performance]:percent:' \ - '-v[Verbose mode]' + '-v[verbose mode]' diff --git a/Completion/BSD/Command/_procstat b/Completion/BSD/Command/_procstat index b6343beff..f8bc54290 100644 --- a/Completion/BSD/Command/_procstat +++ b/Completion/BSD/Command/_procstat @@ -5,13 +5,13 @@ local pids pids=(${${${(f)"$(/usr/bin/procstat -ah)"}/[[:space:]]#/}/[[:space:]]*[[:space:]](ELF[[:digit:]]#[[:space:]]|-[[:space:]]#)/:}) _arguments -s \ -'-b[Display binary information for the process]' \ -'-c[Display command line arguments for the process]' \ -'-f[Display file descriptor information for the process]' \ -'-k[Display the stacks of kernel threads in the process]' \ -'-s[Display security credential information for the process]' \ -'-t[Display thread information for the process]' \ -'-v[Display virtual memory mappings for the process]' \ -'-h[Suppress table headers.]' \ -'-a[All processes]' \ -':Process id:(($pids))' +'-b[display binary information for the process]' \ +'-c[display command line arguments for the process]' \ +'-f[display file descriptor information for the process]' \ +'-k[display the stacks of kernel threads in the process]' \ +'-s[display security credential information for the process]' \ +'-t[display thread information for the process]' \ +'-v[display virtual memory mappings for the process]' \ +'-h[suppress table headers]' \ +'-a[all processes]' \ +':process id:(($pids))' |