From e3027c9beef272db781bc565b9807f29300fb127 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Fri, 20 Jan 2017 18:08:07 +0800 Subject: [PATCH] Remove P: from getopt --- src/tunnel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tunnel.c b/src/tunnel.c index d28d91aa..dbe59029 100644 --- a/src/tunnel.c +++ b/src/tunnel.c @@ -785,7 +785,7 @@ main(int argc, char **argv) USE_TTY(); #ifdef ANDROID - while ((c = getopt_long(argc, argv, "f:s:p:l:k:t:m:i:c:b:L:a:n:P:huUvVA6", + while ((c = getopt_long(argc, argv, "f:s:p:l:k:t:m:i:c:b:L:a:n:huUvVA6", long_options, &option_index)) != -1) { #else while ((c = getopt_long(argc, argv, "f:s:p:l:k:t:m:i:c:b:L:a:n:huUvA6",