From fe878fbbd80f2e75cc46876a6149362d58ecd403 Mon Sep 17 00:00:00 2001 From: Mira Ressel Date: Sat, 13 Mar 2021 16:40:56 +0100 Subject: s6-log: Recommend the usage of a -- argument separator Logging scripts will commonly start with a -, which will trigger a parsing error that might not be obvious to users when no argument separator is used. --- src/daemontools-extras/s6-log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/daemontools-extras') diff --git a/src/daemontools-extras/s6-log.c b/src/daemontools-extras/s6-log.c index 7959222..798422d 100644 --- a/src/daemontools-extras/s6-log.c +++ b/src/daemontools-extras/s6-log.c @@ -39,7 +39,7 @@ #include #endif -#define USAGE "s6-log [ -d notif ] [ -q | -v ] [ -b ] [ -p ] [ -l linelimit ] logging_script" +#define USAGE "s6-log [ -d notif ] [ -q | -v ] [ -b ] [ -p ] [ -l linelimit ] [ -- ] logging_script" #define dieusage() strerr_dieusage(100, USAGE) #define dienomem() strerr_diefu1sys(111, "stralloc_catb") -- cgit v1.3.1