diff options
| author | Shohei YOSHIDA <syohex@gmail.com> | 2025-10-14 11:44:47 +0900 |
|---|---|---|
| committer | Shohei YOSHIDA <syohex@gmail.com> | 2025-10-14 11:44:47 +0900 |
| commit | a5f749cd4ae786d81f30bea16d95d10233d79fb8 (patch) | |
| tree | 194e4cd9cdd2a97a4b3d98a31e5ea09576f5fc1d /src/_exportfs | |
| parent | Update emacs (diff) | |
| download | zsh-completions-a5f749cd4ae786d81f30bea16d95d10233d79fb8.tar zsh-completions-a5f749cd4ae786d81f30bea16d95d10233d79fb8.tar.gz zsh-completions-a5f749cd4ae786d81f30bea16d95d10233d79fb8.tar.bz2 zsh-completions-a5f749cd4ae786d81f30bea16d95d10233d79fb8.tar.lz zsh-completions-a5f749cd4ae786d81f30bea16d95d10233d79fb8.tar.xz zsh-completions-a5f749cd4ae786d81f30bea16d95d10233d79fb8.tar.zst zsh-completions-a5f749cd4ae786d81f30bea16d95d10233d79fb8.zip | |
update exportfs
Diffstat (limited to 'src/_exportfs')
| -rw-r--r-- | src/_exportfs | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/src/_exportfs b/src/_exportfs index 1265e32..053c78f 100644 --- a/src/_exportfs +++ b/src/_exportfs @@ -37,15 +37,22 @@ # * Timofey Titovets <nefelim4ag@gmail.com> # # ------------------------------------------------------------------------------ -_exportfs() { - _values -w 'option' \ - '(-i)-a[Export or unexport all directories]' \ - '(-a -r -u)-i[Ignore the /etc/exports file and files under /etc/exports.d directory]' \ - '(-i)-r[Reexport all directories]' \ - '(-i)-u[Unexport one or more directories]' \ - '-f[Flush everything out of export table]' \ - '-o[option1,option2.. Specify a list of export options]' \ - '-s[Display the current export list suitable for /etc/exports]' \ - '-v[Be verbose]' -} -_exportfs "$@" + +_arguments \ + '(-d --debug)'{-d,--debug}'[Turn on debugging]:kind:(all auth call general parse)' \ + '(-i)-a[Export or unexport all directories]' \ + '(-a -r -u)-i[Ignore the /etc/exports file and files under /etc/exports.d directory]' \ + '-o[Specify a list of export options in the same manner as in exports]:option' \ + '(-i)-r[Reexport all directories]' \ + '(-i)-u[Unexport one or more directories]' \ + "-f[Flush everything out of kernel's export table]" \ + '-v[Be verbose]' \ + '-s[Display the current export list suitable for /etc/exports]' + +# Local Variables: +# mode: Shell-Script +# sh-indentation: 2 +# indent-tabs-mode: nil +# sh-basic-offset: 2 +# End: +# vim: ft=zsh sw=2 ts=2 et |
