summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2021-01-11 04:20:40 +0100
committerGravatar Nikias Bassen2021-01-11 04:20:40 +0100
commit1a701545aae73cd060c31fd5a2d818ac558a5b96 (patch)
tree95788be3f9f5ef45d874b755544bded92614431c /src/main.c
parent6b3e64140419013834589dfcff25cbf9af1b6168 (diff)
downloadusbmuxd-1a701545aae73cd060c31fd5a2d818ac558a5b96.tar.gz
usbmuxd-1a701545aae73cd060c31fd5a2d818ac558a5b96.tar.bz2
Fix parsing -S as short option for --socket
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index a82cb0c..c1d1edf 100644
--- a/src/main.c
+++ b/src/main.c
@@ -556,11 +556,11 @@ static void parse_opts(int argc, char **argv)
int c;
#ifdef HAVE_SYSTEMD
- const char* opts_spec = "hfvVuU:xXsnzl:p";
+ const char* opts_spec = "hfvVuU:xXsnzl:pS:";
#elif HAVE_UDEV
- const char* opts_spec = "hfvVuU:xXnzl:p";
+ const char* opts_spec = "hfvVuU:xXnzl:pS:";
#else
- const char* opts_spec = "hfvVU:xXnzl:p";
+ const char* opts_spec = "hfvVU:xXnzl:pS:";
#endif
while (1) {