From 67e6bdbc3c57de1a98097f970384d1744bb6d0e7 Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Fri, 16 May 2025 16:24:04 +0900 Subject: [PATCH] Update setcap completion flags --- src/_setcap | 4 ++++ 1 file changed, 4 insertions(+) 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]' \