Browse Source

Fix redundant options

pull/1186/head
Max Lv 8 years ago
parent
commit
f45c150e02
2 changed files with 0 additions and 2 deletions
  1. 1
      src/local.c
  2. 1
      src/server.c

1
src/local.c

@ -1199,7 +1199,6 @@ main(int argc, char **argv)
{ "mptcp", no_argument, NULL, GETOPT_VAL_MPTCP },
{ "plugin", required_argument, NULL, GETOPT_VAL_PLUGIN },
{ "plugin-opts", required_argument, NULL, GETOPT_VAL_PLUGIN_OPTS },
{ "port-reuse", no_argument , NULL, GETOPT_VAL_REUSE_PORT },
{ "help", no_argument, NULL, GETOPT_VAL_HELP },
{ NULL, 0, NULL, 0 }
};

1
src/server.c

@ -1364,7 +1364,6 @@ main(int argc, char **argv)
{ "help", no_argument, NULL, GETOPT_VAL_HELP },
{ "plugin", required_argument, NULL, GETOPT_VAL_PLUGIN },
{ "plugin-opts", required_argument, NULL, GETOPT_VAL_PLUGIN_OPTS },
{ "port-reuse", no_argument, NULL, GETOPT_VAL_REUSE_PORT },
#ifdef __linux__
{ "mptcp", no_argument, NULL, GETOPT_VAL_MPTCP },
#endif

Loading…
Cancel
Save