diff options
Diffstat (limited to 'runit')
-rw-r--r-- | runit/chpst.c | 4 | ||||
-rw-r--r-- | runit/sv.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/runit/chpst.c b/runit/chpst.c index 7fe5151db..3769af25e 100644 --- a/runit/chpst.c +++ b/runit/chpst.c | |||
@@ -300,8 +300,8 @@ int chpst_main(int argc UNUSED_PARAM, char **argv) | |||
300 | // FIXME: can we live with int-sized limits? | 300 | // FIXME: can we live with int-sized limits? |
301 | // can we live with 40000 days? | 301 | // can we live with 40000 days? |
302 | // if yes -> getopt converts strings to numbers for us | 302 | // if yes -> getopt converts strings to numbers for us |
303 | opt_complementary = "-1:a+:c+:d+:f+:l+:m+:o+:p+:r+:s+:t+"; | 303 | opt_complementary = "-1"; |
304 | opt = getopt32(argv, "+a:c:d:f:l:m:o:p:r:s:t:u:U:e:" | 304 | opt = getopt32(argv, "+a:+c:+d:+f:+l:+m:+o:+p:+r:+s:+t:+u:U:e:" |
305 | IF_CHPST("/:n:vP012"), | 305 | IF_CHPST("/:n:vP012"), |
306 | &limita, &limitc, &limitd, &limitf, &limitl, | 306 | &limita, &limitc, &limitd, &limitf, &limitl, |
307 | &limitm, &limito, &limitp, &limitr, &limits, &limitt, | 307 | &limitm, &limito, &limitp, &limitr, &limits, &limitt, |
diff --git a/runit/sv.c b/runit/sv.c index 2a256a6b4..37df9a929 100644 --- a/runit/sv.c +++ b/runit/sv.c | |||
@@ -474,8 +474,8 @@ int sv_main(int argc UNUSED_PARAM, char **argv) | |||
474 | x = getenv("SVWAIT"); | 474 | x = getenv("SVWAIT"); |
475 | if (x) waitsec = xatou(x); | 475 | if (x) waitsec = xatou(x); |
476 | 476 | ||
477 | opt_complementary = "w+:vv"; /* -w N, -v is a counter */ | 477 | opt_complementary = "vv"; /* -w N, -v is a counter */ |
478 | getopt32(argv, "w:v", &waitsec, &verbose); | 478 | getopt32(argv, "w:+v", &waitsec, &verbose); |
479 | argv += optind; | 479 | argv += optind; |
480 | action = *argv++; | 480 | action = *argv++; |
481 | if (!action || !*argv) bb_show_usage(); | 481 | if (!action || !*argv) bb_show_usage(); |