xbps-uchroot: document end of options argument

Signed-off-by: Doan Tran Cong Danh <congdanhqx@gmail.com>
This commit is contained in:
Doan Tran Cong Danh authored and Juan RP committed 2019-11-24 12:28:45 +01:00
1 parent be06a3b578
commit 36a7ddd4ae
2 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -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"
+6
View File
@@ -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