xbps-uunshare: document end of options argument

Signed-off-by: Doan Tran Cong Danh <congdanhqx@gmail.com>
This commit is contained in:
Doan Tran Cong Danh 2019-11-05 22:30:39 +07:00 committed by Juan RP
parent f723edbca1
commit be06a3b578
2 changed files with 7 additions and 1 deletions

View File

@ -76,7 +76,7 @@ die(const char *fmt, ...)
static void __attribute__((noreturn))
usage(const char *p)
{
printf("Usage: %s [-b src:dest] <dir> <cmd> [<cmdargs>]\n\n"
printf("Usage: %s [-b src:dest] [--] <dir> <cmd> [<cmdargs>]\n\n"
"-b src:dest Bind mounts <src> into <dir>/<dest> (may be specified multiple times)\n\n", p);
exit(EXIT_FAILURE);
}

View File

@ -37,6 +37,12 @@ Please note that both
and
.Ar dest
must be absolute paths and must exist.
.It Fl -
Stop interpreting following arguments as options.
This option is useful if some of
.Ar ARGS
are options passed to
.Ar COMMAND .
.El
.Sh NOTES
The