parent
2f834d6628
commit
64d45f4237
|
@ -32,10 +32,10 @@ const char *root = ".";
|
||||||
int max_redirect = 0;
|
int max_redirect = 0;
|
||||||
|
|
||||||
static struct option tip_repo_opts[] = {
|
static struct option tip_repo_opts[] = {
|
||||||
{ "max-clients", 1, 0, 'n' },
|
{ "max-clients", required_argument, 0, 'n' },
|
||||||
{ "redirect", 2, 0, 'r' },
|
{ "redirect", optional_argument, 0, 'r' },
|
||||||
{ "root", 1, 0, 't' },
|
{ "root", required_argument, 0, 't' },
|
||||||
{ "daemon", 0, 0, 'd' },
|
{ "daemon", no_argument, 0, 'd' },
|
||||||
{ NULL },
|
{ NULL },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue