From 637f9809a772150e83091180676fd5371bd8e1fe Mon Sep 17 00:00:00 2001 From: Matthew Martin Date: Fri, 13 Apr 2018 22:42:11 -0500 Subject: 42642 (tweaked for Solaris): OpenBSD chown does not support -f and dragonfly has -x --- Completion/Unix/Command/_chown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Completion/Unix/Command/_chown b/Completion/Unix/Command/_chown index c3abb5858..2c63a399a 100644 --- a/Completion/Unix/Command/_chown +++ b/Completion/Unix/Command/_chown @@ -23,7 +23,6 @@ if _pick_variant gnu=Free\ Soft unix --version; then args+=( '--from=[restrict changes to files by current ownership]: :->owner' ) else args=( - "-f[don't report errors]" "-h[operate on symlinks them self]" '-R[change files and directories recursively]' '(-H -L -P)-L[follow all symlinks]' @@ -31,7 +30,8 @@ else '(-H -L -P)-P[do not follow symlinks (default)]' ) for pattern arg in \ - 'freebsd*' "-x[don't traverse file systems]" \ + '(dragonfly|freebsd)*' "-x[don't traverse file systems]" \ + '(darwin|dragonfly|(free|net)bsd|solaris)*' "-f[don't report errors]" \ '(darwin|dragonfly|(free|net)bsd)*' '-v[output info for every file processed]' \ 'solaris2.<11->' '-s[owner and/or group are Windows SID strings]' do -- cgit 1.4.1