projects
/
project
/
ugps.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb87d0f
)
main.c: -S does not take any options
author
John Crispin
<john@phrozen.org>
Fri, 27 Jan 2023 12:07:25 +0000
(13:07 +0100)
committer
John 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
patch
|
blob
|
history
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;