mirror of
https://github.com/workinghard/jslisten.git
synced 2025-12-13 19:02:09 +00:00
Compare commits
2 Commits
bd32b2b030
...
b746920b68
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b746920b68 | ||
|
|
d791286897 |
@@ -654,12 +654,10 @@ void parse_command_line(int argc, char* argv[]) {
|
||||
case 'm':
|
||||
if (strncmp(optarg, MODE_HOLD_STR, strlen(MODE_HOLD_STR)) == 0) {
|
||||
mode = HOLD;
|
||||
}
|
||||
if (strncmp(optarg, MODE_PLAIN_STR, strlen(MODE_PLAIN_STR)) == 0) {
|
||||
} else if (strncmp(optarg, MODE_PLAIN_STR, strlen(MODE_PLAIN_STR)) == 0) {
|
||||
mode = PLAIN;
|
||||
} else {
|
||||
syslog(LOG_WARNING, "--mode %s parameter unknown. Using default.\n", optarg);
|
||||
|
||||
}
|
||||
break;
|
||||
case '?':
|
||||
|
||||
Reference in New Issue
Block a user