main.c: -S does not take any options
authorJohn Crispin <john@phrozen.org>
Fri, 27 Jan 2023 12:07:25 +0000 (13:07 +0100)
committerJohn Crispin <john@phrozen.org>
Fri, 27 Jan 2023 12:07:47 +0000 (13:07 +0100)
Fixes: fb87d0fd051b (ugps: add baud rate command line option)
Signed-off-by: John Crispin <john@phrozen.org>
main.c

diff --git a/main.c b/main.c
index 76a5aab4d0bc83b501dd4d1044f24605b8e617d8..f67470e460d7ce66ed411b9d6847df7f4a313344 100644 (file)
--- 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;