aboutsummaryrefslogtreecommitdiffstats
path: root/src/_setcap
diff options
context:
space:
mode:
authorShohei YOSHIDA <syohex@gmail.com>2025-05-16 16:24:04 +0900
committerShohei YOSHIDA <syohex@gmail.com>2025-05-16 16:24:04 +0900
commit67e6bdbc3c57de1a98097f970384d1744bb6d0e7 (patch)
tree7299909b6a7b9139d732ec9d76f5f0db86f0ab1f /src/_setcap
parentMerge pull request #1133 from zsh-users/update-nodejs (diff)
downloadzsh-completions-67e6bdbc3c57de1a98097f970384d1744bb6d0e7.tar
zsh-completions-67e6bdbc3c57de1a98097f970384d1744bb6d0e7.tar.gz
zsh-completions-67e6bdbc3c57de1a98097f970384d1744bb6d0e7.tar.bz2
zsh-completions-67e6bdbc3c57de1a98097f970384d1744bb6d0e7.tar.lz
zsh-completions-67e6bdbc3c57de1a98097f970384d1744bb6d0e7.tar.xz
zsh-completions-67e6bdbc3c57de1a98097f970384d1744bb6d0e7.tar.zst
zsh-completions-67e6bdbc3c57de1a98097f970384d1744bb6d0e7.zip
Update setcap completion flags
Diffstat (limited to 'src/_setcap')
-rw-r--r--src/_setcap4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/_setcap b/src/_setcap
index 2de84e0..51b2a8a 100644
--- a/src/_setcap
+++ b/src/_setcap
@@ -42,6 +42,10 @@ _setcap() {
local curcontext=$curcontext state line expl ret=1
_arguments -C -s \
+ '-r[remove capability from file]' \
+ '--license[display the license info]' \
+ '-f[force setting even when the capability is invalid]' \
+ '-h[show help message and exit]' \
'-v[verify that the specified capabilities are currently associated with the file]' \
'-n[set the file capability for use only in a user namespace with this root user ID owner]:rootuid' \
'-q[make the program less verbose in its output]' \