Add better documentation for "-c" option.

This commit is contained in:
Glenn Washburn 2018-11-09 09:03:01 -06:00 committed by crass
parent d64e25da66
commit c895eee170
2 changed files with 4 additions and 2 deletions

View file

@ -42,7 +42,7 @@ static char *usage_str =
" --blacklist=filename - blacklist directory or file.\n"
" --build - build a whitelisted profile for the application.\n"
" --build=filename - build a whitelisted profile for the application.\n"
" -c - execute command and exit.\n"
" -c - login shell compatibility option (has no effect).\n"
" --caps - enable default Linux capabilities filter.\n"
" --caps.drop=all - drop all capabilities.\n"
" --caps.drop=capability,capability - blacklist capabilities filter.\n"

View file

@ -186,7 +186,9 @@ Example:
$ firejail --build=vlc.profile vlc ~/Videos/test.mp4
.TP
\fB\-c
Execute command and exit.
Login shell compatibility option. This option is use by some login programs when executing
the login shell, such as when firejail is used as a restricted login shell. It currently does
not change the execution of firejail.
.TP
\fB\-\-caps
Linux capabilities is a kernel feature designed to split up the root privilege into a set of distinct privileges.