aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2008-03-09 16:36:25 -0700
committerAndrew G. Morgan <morgan@kernel.org>2008-03-09 16:36:25 -0700
commite5788d4ae6c44860302dfc5941c7f185b4f4bce3 (patch)
tree117d70a124daa04fa100dd8605e210a61062509c
parenta0b745aed508179e140df99e94bea5195c23721d (diff)
downloadlibcap-e5788d4ae6c44860302dfc5941c7f185b4f4bce3.tar.gz
Add info about -r option to documentation for setcap
-rw-r--r--doc/setcap.84
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/setcap.8 b/doc/setcap.8
index 1f727c1..885b8f4 100644
--- a/doc/setcap.8
+++ b/doc/setcap.8
@@ -5,7 +5,7 @@
.SH NAME
setcap \- set file capabilities
.SH SYNOPSIS
-\fBsetcap\fP \fIcapabilities filename\fP [ ... \fIcapabilitiesN\fP \fIfileN\fP ]
+\fBsetcap\fP (\fIcapabilities|-|-r) filename\fP [ ... \fIcapabilitiesN\fP \fIfileN\fP ]
.SH DESCRIPTION
.B setcap
sets the capabilities of each specified
@@ -21,6 +21,8 @@ The special filename, '\-',
can be used to indicate that capabilities are read from the standard
input. In such cases, the capability set is terminated with a blank
line.
+.PP
+The option, '-r', can be used to remove a capability set from a file.
.SH "SEE ALSO"
.IR cap_from_text (3),
.IR cap_set_file (3),