From 5e17662d138fc9c9f70a4422eab059c2bdc9432d Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 19 Jan 2020 00:35:34 +0000 Subject: Add -C and -B options, prepare for 1.0.4.0 --- src/init/s6-linux-init-telinit.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/init/s6-linux-init-telinit.c') diff --git a/src/init/s6-linux-init-telinit.c b/src/init/s6-linux-init-telinit.c index 42441d6..cf05a7e 100644 --- a/src/init/s6-linux-init-telinit.c +++ b/src/init/s6-linux-init-telinit.c @@ -24,11 +24,13 @@ int main (int argc, char const *const *argv, char const *const *envp) subgetopt_t l = SUBGETOPT_ZERO ; for (;;) { - int opt = subgetopt_r(argc, argv, "c:p:s:m:d:D:", &l) ; + int opt = subgetopt_r(argc, argv, "CBc:p:s:m:d:D:", &l) ; if (opt == -1) break ; switch (opt) { - case 'c' : /* s6-linux-init may be called with these options, don't choke on them */ + case 'C' : /* s6-linux-init may be called with these options, don't choke on them */ + case 'B' : + case 'c' : case 'p' : case 's' : case 'm' : -- cgit v1.3.1