xbps-uchroot: document end of options argument
Signed-off-by: Doan Tran Cong Danh <congdanhqx@gmail.com>
This commit is contained in:
parent
be06a3b578
commit
36a7ddd4ae
@ -86,7 +86,7 @@ static SIMPLEQ_HEAD(bindmnt_head, bindmnt) bindmnt_queue =
|
|||||||
static void __attribute__((noreturn))
|
static void __attribute__((noreturn))
|
||||||
usage(const char *p)
|
usage(const char *p)
|
||||||
{
|
{
|
||||||
printf("Usage: %s [-b src:dest] [-O -t -o <opts>] <dir> <cmd> [<cmdargs>]\n\n"
|
printf("Usage: %s [-b src:dest] [-O -t -o <opts>] [--] <dir> <cmd> [<cmdargs>]\n\n"
|
||||||
"-b src:dest Bind mounts <src> into <dir>/<dest> (may be specified multiple times)\n"
|
"-b src:dest Bind mounts <src> into <dir>/<dest> (may be specified multiple times)\n"
|
||||||
"-O Creates a tempdir and mounts <dir> read-only via overlayfs\n"
|
"-O Creates a tempdir and mounts <dir> read-only via overlayfs\n"
|
||||||
"-t Creates tempdir and mounts it on tmpfs (for use with -O)\n"
|
"-t Creates tempdir and mounts it on tmpfs (for use with -O)\n"
|
||||||
|
@ -52,6 +52,12 @@ This makes the temporary directory to be mounted in tmpfs, so that everything is
|
|||||||
in RAM. Note that this is only useful if used with the
|
in RAM. Note that this is only useful if used with the
|
||||||
.Fl O
|
.Fl O
|
||||||
option (overlayfs).
|
option (overlayfs).
|
||||||
|
.It Fl -
|
||||||
|
Stop interpreting following arguments as options.
|
||||||
|
This option is useful if some of
|
||||||
|
.Ar ARGS
|
||||||
|
are options passed to
|
||||||
|
.Ar COMMAND .
|
||||||
.El
|
.El
|
||||||
.Sh SECURITY
|
.Sh SECURITY
|
||||||
The
|
The
|
||||||
|
Loading…
Reference in New Issue
Block a user