diff options
author | Glenn Washburn <development@efficientek.com> | 2018-11-09 09:03:01 -0600 |
---|---|---|
committer | crass <development@efficientek.com> | 2018-11-18 12:53:54 -0600 |
commit | c895eee170a1ea205fa2cfa4d83bd7273c9d8651 (patch) | |
tree | 9bd7cb1c4666de809184a0e8bf75b9b0df95b13d /src | |
parent | Merge pull request #2260 from announ/patch-1 (diff) | |
download | firejail-c895eee170a1ea205fa2cfa4d83bd7273c9d8651.tar.gz firejail-c895eee170a1ea205fa2cfa4d83bd7273c9d8651.tar.zst firejail-c895eee170a1ea205fa2cfa4d83bd7273c9d8651.zip |
Add better documentation for "-c" option.
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/usage.c | 2 | ||||
-rw-r--r-- | src/man/firejail.txt | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/firejail/usage.c b/src/firejail/usage.c index 84bc22571..b5d41b3e8 100644 --- a/src/firejail/usage.c +++ b/src/firejail/usage.c | |||
@@ -42,7 +42,7 @@ static char *usage_str = | |||
42 | " --blacklist=filename - blacklist directory or file.\n" | 42 | " --blacklist=filename - blacklist directory or file.\n" |
43 | " --build - build a whitelisted profile for the application.\n" | 43 | " --build - build a whitelisted profile for the application.\n" |
44 | " --build=filename - build a whitelisted profile for the application.\n" | 44 | " --build=filename - build a whitelisted profile for the application.\n" |
45 | " -c - execute command and exit.\n" | 45 | " -c - login shell compatibility option (has no effect).\n" |
46 | " --caps - enable default Linux capabilities filter.\n" | 46 | " --caps - enable default Linux capabilities filter.\n" |
47 | " --caps.drop=all - drop all capabilities.\n" | 47 | " --caps.drop=all - drop all capabilities.\n" |
48 | " --caps.drop=capability,capability - blacklist capabilities filter.\n" | 48 | " --caps.drop=capability,capability - blacklist capabilities filter.\n" |
diff --git a/src/man/firejail.txt b/src/man/firejail.txt index e7917737e..2fe2e8bfa 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt | |||
@@ -186,7 +186,9 @@ Example: | |||
186 | $ firejail --build=vlc.profile vlc ~/Videos/test.mp4 | 186 | $ firejail --build=vlc.profile vlc ~/Videos/test.mp4 |
187 | .TP | 187 | .TP |
188 | \fB\-c | 188 | \fB\-c |
189 | Execute command and exit. | 189 | Login shell compatibility option. This option is use by some login programs when executing |
190 | the login shell, such as when firejail is used as a restricted login shell. It currently does | ||
191 | not change the execution of firejail. | ||
190 | .TP | 192 | .TP |
191 | \fB\-\-caps | 193 | \fB\-\-caps |
192 | Linux capabilities is a kernel feature designed to split up the root privilege into a set of distinct privileges. | 194 | Linux capabilities is a kernel feature designed to split up the root privilege into a set of distinct privileges. |