diff options
author | Mira Ressel <aranea@aixah.de> | 2021-03-13 16:40:56 +0100 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2021-03-13 15:52:26 +0000 |
commit | fe878fbbd80f2e75cc46876a6149362d58ecd403 (patch) | |
tree | 0e695ad97cd2c199905cb7120fa402eb97547624 /src/daemontools-extras | |
parent | 26d5a78bf3ee8ef99fd0962ede3c2522d12c741c (diff) | |
download | s6-fe878fbbd80f2e75cc46876a6149362d58ecd403.tar.xz |
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.
Diffstat (limited to 'src/daemontools-extras')
-rw-r--r-- | src/daemontools-extras/s6-log.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <execline/config.h> #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") |