diff options
| author | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2025-09-01 11:11:01 +0900 |
|---|---|---|
| committer | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2025-09-01 11:11:01 +0900 |
| commit | dff057259dea8e5c7c10986fec90905c93f2ac59 (patch) | |
| tree | 64315c94a23ef715e3a1dc17119e5d6a4f1c9eb8 /Completion/Unix/Command/_sysctl | |
| parent | 53866: fix _man for NetBSD (diff) | |
| download | zsh-dff057259dea8e5c7c10986fec90905c93f2ac59.tar zsh-dff057259dea8e5c7c10986fec90905c93f2ac59.tar.gz zsh-dff057259dea8e5c7c10986fec90905c93f2ac59.tar.bz2 zsh-dff057259dea8e5c7c10986fec90905c93f2ac59.tar.lz zsh-dff057259dea8e5c7c10986fec90905c93f2ac59.tar.xz zsh-dff057259dea8e5c7c10986fec90905c93f2ac59.tar.zst zsh-dff057259dea8e5c7c10986fec90905c93f2ac59.zip | |
53898: update _pmap, _date, _pgrep, _sysctl
_pmap is moved from Linux/Command/ to Unix/Command
Diffstat (limited to 'Completion/Unix/Command/_sysctl')
| -rw-r--r-- | Completion/Unix/Command/_sysctl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_sysctl b/Completion/Unix/Command/_sysctl index 09995c98e..02fe15a4f 100644 --- a/Completion/Unix/Command/_sysctl +++ b/Completion/Unix/Command/_sysctl @@ -39,7 +39,10 @@ case $OSTYPE in freebsd<14->.*) args+=( '-F[print the format of the variable]' + '-J[display only jail prison sysctl variables]' + '-j[perform the actions inside the specified jail]:jail id or name:' '(-N)-l[show the length of variables along with their values]' + '-V[display only VNET sysctl variables]' ) ;| freebsd<11->.*) @@ -79,8 +82,9 @@ case $OSTYPE in sysctlvars=( ${${${(f)"$(_call_program sysctl-variables sysctl -a 2>/dev/null)"}%%=*}:# *} ) _arguments -S -s -A "-*" \ - '(-A -q *)-a[list all string and integer variables]' \ - '(-a -q *)-A[list all known variables]' \ + '(-A -f -q *)-a[list all string and integer variables]' \ + '(-a -f -q *)-A[list all known variables]' \ + '(-A -a *)-f[read name=value from specified file]: :_files' \ '-n[show only values]' \ '(-a -A)-q[suppress all output when setting a variable]' \ '*:sysctl variable:_multi_parts -i -S = -q . sysctlvars' |
