Update setcap completion flags
This commit is contained in:
parent
98dd809126
commit
67e6bdbc3c
|
@ -42,6 +42,10 @@ _setcap() {
|
||||||
local curcontext=$curcontext state line expl ret=1
|
local curcontext=$curcontext state line expl ret=1
|
||||||
|
|
||||||
_arguments -C -s \
|
_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]' \
|
'-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' \
|
'-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]' \
|
'-q[make the program less verbose in its output]' \
|
||||||
|
|
Loading…
Reference in New Issue