From: John Crispin Date: Fri, 27 Jan 2023 12:07:25 +0000 (+0100) Subject: main.c: -S does not take any options X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=a8171a07193351a9125024d5c759c0ebd6a6895c;p=project%2Fugps.git main.c: -S does not take any options Fixes: fb87d0fd051b (ugps: add baud rate command line option) Signed-off-by: John Crispin --- diff --git a/main.c b/main.c index 76a5aab..f67470e 100644 --- a/main.c +++ b/main.c @@ -147,7 +147,7 @@ main(int argc, char ** argv) unsetenv("DBGLVL"); } - while ((ch = getopt(argc, argv, "ad:s:S:b:")) != -1) { + while ((ch = getopt(argc, argv, "ad:s:Sb:")) != -1) { switch (ch) { case 'a': adjust_clock = -1;