diff --git a/bin/xbps-uchroot/main.c b/bin/xbps-uchroot/main.c index c232de8e..f9f8f948 100644 --- a/bin/xbps-uchroot/main.c +++ b/bin/xbps-uchroot/main.c @@ -86,7 +86,7 @@ static SIMPLEQ_HEAD(bindmnt_head, bindmnt) bindmnt_queue = static void __attribute__((noreturn)) usage(const char *p) { - printf("Usage: %s [-b src:dest] [-O -t -o ] []\n\n" + printf("Usage: %s [-b src:dest] [-O -t -o ] [--] []\n\n" "-b src:dest Bind mounts into / (may be specified multiple times)\n" "-O Creates a tempdir and mounts read-only via overlayfs\n" "-t Creates tempdir and mounts it on tmpfs (for use with -O)\n" diff --git a/bin/xbps-uchroot/xbps-uchroot.1 b/bin/xbps-uchroot/xbps-uchroot.1 index b3df5322..acd4a498 100644 --- a/bin/xbps-uchroot/xbps-uchroot.1 +++ b/bin/xbps-uchroot/xbps-uchroot.1 @@ -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 .Fl O 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 .Sh SECURITY The