From be06a3b5784410fcd4fe9c3431f05d8766f8520b Mon Sep 17 00:00:00 2001 From: Doan Tran Cong Danh Date: Tue, 5 Nov 2019 22:30:39 +0700 Subject: [PATCH] xbps-uunshare: document end of options argument Signed-off-by: Doan Tran Cong Danh --- bin/xbps-uunshare/main.c | 2 +- bin/xbps-uunshare/xbps-uunshare.1 | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bin/xbps-uunshare/main.c b/bin/xbps-uunshare/main.c index 720a84f5..00040963 100644 --- a/bin/xbps-uunshare/main.c +++ b/bin/xbps-uunshare/main.c @@ -76,7 +76,7 @@ die(const char *fmt, ...) static void __attribute__((noreturn)) usage(const char *p) { - printf("Usage: %s [-b src:dest] []\n\n" + printf("Usage: %s [-b src:dest] [--] []\n\n" "-b src:dest Bind mounts into / (may be specified multiple times)\n\n", p); exit(EXIT_FAILURE); } diff --git a/bin/xbps-uunshare/xbps-uunshare.1 b/bin/xbps-uunshare/xbps-uunshare.1 index b80fc01c..eba128c1 100644 --- a/bin/xbps-uunshare/xbps-uunshare.1 +++ b/bin/xbps-uunshare/xbps-uunshare.1 @@ -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