diff options
author | Nikias Bassen | 2021-01-11 04:20:40 +0100 |
---|---|---|
committer | Nikias Bassen | 2021-01-11 04:20:40 +0100 |
commit | 1a701545aae73cd060c31fd5a2d818ac558a5b96 (patch) | |
tree | 95788be3f9f5ef45d874b755544bded92614431c /src/main.c | |
parent | 6b3e64140419013834589dfcff25cbf9af1b6168 (diff) | |
download | usbmuxd-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) { |