mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-29 04:55:07 +00:00
Updated command line arguments help
This commit is contained in:
parent
141d1f1e4e
commit
9dec2de448
@ -71,8 +71,8 @@ print_usage()
|
|||||||
|
|
||||||
fprintf(stderr, "Usage: %s [-v] [-h] [-V sec] [-f] [-r] [-u user] [-t chrootdir] [-d device] "
|
fprintf(stderr, "Usage: %s [-v] [-h] [-V sec] [-f] [-r] [-u user] [-t chrootdir] [-d device] "
|
||||||
"[-w downfrags] [-W upfrags] [-i sec -j sec] [-I sec] [-c 0|1] [-C 0|1] [-s ms] "
|
"[-w downfrags] [-W upfrags] [-i sec -j sec] [-I sec] [-c 0|1] [-C 0|1] [-s ms] "
|
||||||
"[-P password] [-m maxfragsize] [-M maxlen] [-T type] [-O enc] [-L 0|1] "
|
"[-P password] [-m maxfragsize] [-M maxlen] [-T type] [-O enc] [-L 0|1] [-R rdomain] "
|
||||||
"[-z context] [-F pidfile] topdomain [nameserver1 [nameserver2 [nameserverN ...]]]\n", __progname);
|
"[-z context] [-F pidfile] topdomain [nameserver1 [nameserver2 [...]]]\n", __progname);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -118,6 +118,7 @@ help()
|
|||||||
fprintf(stderr, " -t dir to chroot to directory dir\n");
|
fprintf(stderr, " -t dir to chroot to directory dir\n");
|
||||||
fprintf(stderr, " -d device to set tunnel device name\n");
|
fprintf(stderr, " -d device to set tunnel device name\n");
|
||||||
fprintf(stderr, " -z context, to apply specified SELinux context after initialization\n");
|
fprintf(stderr, " -z context, to apply specified SELinux context after initialization\n");
|
||||||
|
fprintf(stderr, " -R routing domain (OpenBSD only)\n");
|
||||||
fprintf(stderr, " -F pidfile to write pid to a file\n\n");
|
fprintf(stderr, " -F pidfile to write pid to a file\n\n");
|
||||||
|
|
||||||
fprintf(stderr, "nameserver is the IP/hostname of the relaying nameserver(s).\n");
|
fprintf(stderr, "nameserver is the IP/hostname of the relaying nameserver(s).\n");
|
||||||
|
@ -154,13 +154,11 @@ static void
|
|||||||
print_usage() {
|
print_usage() {
|
||||||
extern char *__progname;
|
extern char *__progname;
|
||||||
|
|
||||||
fprintf(stderr, "Usage: %s [-v] [-h] "
|
fprintf(stderr, "Usage: %s [-v] [-h] [-4] [-6] [-c] [-s] [-f] [-D] "
|
||||||
"[-4] [-6] [-c] [-s] [-f] [-D] [-u user] "
|
"[-u user] [-t chrootdir] [-d device] [-m mtu] [-z context] "
|
||||||
"[-t chrootdir] [-d device] [-m mtu] [-z context] "
|
"[-l ipv4 listen address] [-L ipv6 listen address] [-p port] "
|
||||||
"[-l ipv4 listen address] [-L ipv6 listen address] "
|
"[-n external ip] [-b dnsport] [-P password] [-F pidfile] "
|
||||||
"[-p port] [-n external ip] [-b dnsport] "
|
"[-i max idle time] tunnel_ip[/netmask] topdomain\n", __progname);
|
||||||
"[-P password] [-F pidfile] [-i max idle time] "
|
|
||||||
"tunnel_ip[/netmask] topdomain\n", __progname);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user