diff options
Diffstat (limited to 'runit/sv.c')
-rw-r--r-- | runit/sv.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runit/sv.c b/runit/sv.c index 477c1ac6e..1d0809be8 100644 --- a/runit/sv.c +++ b/runit/sv.c | |||
@@ -506,8 +506,9 @@ static int sv(char **argv) | |||
506 | x = getenv("SVWAIT"); | 506 | x = getenv("SVWAIT"); |
507 | if (x) waitsec = xatou(x); | 507 | if (x) waitsec = xatou(x); |
508 | 508 | ||
509 | opt_complementary = "vv"; /* -w N, -v is a counter */ | 509 | getopt32(argv, "^" "w:+v" "\0" "vv" /* -w N, -v is a counter */, |
510 | getopt32(argv, "w:+v", &waitsec, &verbose); | 510 | &waitsec, &verbose |
511 | ); | ||
511 | argv += optind; | 512 | argv += optind; |
512 | action = *argv++; | 513 | action = *argv++; |
513 | if (!action || !*argv) bb_show_usage(); | 514 | if (!action || !*argv) bb_show_usage(); |