diff options
author | 2021-01-11 04:20:40 +0100 | |
---|---|---|
committer | 2021-01-11 04:20:40 +0100 | |
commit | 1a701545aae73cd060c31fd5a2d818ac558a5b96 (patch) | |
tree | 95788be3f9f5ef45d874b755544bded92614431c | |
parent | 6b3e64140419013834589dfcff25cbf9af1b6168 (diff) | |
download | usbmuxd-1a701545aae73cd060c31fd5a2d818ac558a5b96.tar.gz usbmuxd-1a701545aae73cd060c31fd5a2d818ac558a5b96.tar.bz2 |
Fix parsing -S as short option for --socket
-rw-r--r-- | src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -556,11 +556,11 @@ static void parse_opts(int argc, char **argv) | |||
556 | int c; | 556 | int c; |
557 | 557 | ||
558 | #ifdef HAVE_SYSTEMD | 558 | #ifdef HAVE_SYSTEMD |
559 | const char* opts_spec = "hfvVuU:xXsnzl:p"; | 559 | const char* opts_spec = "hfvVuU:xXsnzl:pS:"; |
560 | #elif HAVE_UDEV | 560 | #elif HAVE_UDEV |
561 | const char* opts_spec = "hfvVuU:xXnzl:p"; | 561 | const char* opts_spec = "hfvVuU:xXnzl:pS:"; |
562 | #else | 562 | #else |
563 | const char* opts_spec = "hfvVU:xXnzl:p"; | 563 | const char* opts_spec = "hfvVU:xXnzl:pS:"; |
564 | #endif | 564 | #endif |
565 | 565 | ||
566 | while (1) { | 566 | while (1) { |