summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin2023-01-27 12:07:25 +0000
committerJohn Crispin2023-01-27 12:07:47 +0000
commita8171a07193351a9125024d5c759c0ebd6a6895c (patch)
tree73d6a586fd6ba4518977ae2724094284bcb6ff73
parentfb87d0fd051b07824b80f1d279ce0d1946433683 (diff)
downloadugps-a8171a07193351a9125024d5c759c0ebd6a6895c.tar.gz
main.c: -S does not take any options
Fixes: fb87d0fd051b (ugps: add baud rate command line option) Signed-off-by: John Crispin <john@phrozen.org>
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
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;