diff options
author | Denys Vlasenko | 2017-08-04 02:01:45 +0200 |
---|---|---|
committer | Denys Vlasenko | 2017-08-04 02:01:45 +0200 |
commit | 4dc86699b57ff35c287ca396d562ec206776694a (patch) | |
tree | 3b11864398568f7d7ebdf826b63e6cffeef7f6a5 /miscutils | |
parent | cfd392bea9f52539baae9be4833075e464075958 (diff) | |
download | busybox-4dc86699b57ff35c287ca396d562ec206776694a.zip busybox-4dc86699b57ff35c287ca396d562ec206776694a.tar.gz |
microcom: require exactly one non-option
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/microcom.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/miscutils/microcom.c b/miscutils/microcom.c index 14b9f3b..f382ede 100644 --- a/miscutils/microcom.c +++ b/miscutils/microcom.c @@ -74,6 +74,7 @@ int microcom_main(int argc UNUSED_PARAM, char **argv) unsigned opts; // fetch options + opt_complementary = "=1"; opts = getopt32(argv, "Xs:+d:+t:+", &speed, &delay, &timeout); // argc -= optind; argv += optind; |