Added more help
This commit is contained in:
parent
a8182ef8f1
commit
fc0c5aa46b
4
iodine.c
4
iodine.c
|
@ -174,7 +174,9 @@ help() {
|
||||||
printf("iodine IP over DNS tunneling client\n");
|
printf("iodine IP over DNS tunneling client\n");
|
||||||
printf("Usage: %s [-v] [-h] [-f] [-u user] [-t chrootdir] "
|
printf("Usage: %s [-v] [-h] [-f] [-u user] [-t chrootdir] "
|
||||||
"nameserver topdomain\n", __progname);
|
"nameserver topdomain\n", __progname);
|
||||||
printf(" -f is to keep running in foreground\n");
|
printf(" -v to print version info and exit\n");
|
||||||
|
printf(" -h to print this help and exit\n");
|
||||||
|
printf(" -f to keep running in foreground\n");
|
||||||
printf(" -u name to drop privileges and run as user 'name'\n");
|
printf(" -u name to drop privileges and run as user 'name'\n");
|
||||||
printf(" -t dir to chroot to directory dir\n");
|
printf(" -t dir to chroot to directory dir\n");
|
||||||
printf("nameserver is the IP number of the relaying nameserver\n");
|
printf("nameserver is the IP number of the relaying nameserver\n");
|
||||||
|
|
|
@ -158,6 +158,8 @@ help() {
|
||||||
printf("iodine IP over DNS tunneling server\n");
|
printf("iodine IP over DNS tunneling server\n");
|
||||||
printf("Usage: %s [-v] [-h] [-f] [-u user] [-t chrootdir] [-m mtu] "
|
printf("Usage: %s [-v] [-h] [-f] [-u user] [-t chrootdir] [-m mtu] "
|
||||||
"tunnel_ip topdomain\n", __progname);
|
"tunnel_ip topdomain\n", __progname);
|
||||||
|
printf(" -v to print version info and exit\n");
|
||||||
|
printf(" -h to print this help and exit\n");
|
||||||
printf(" -f to keep running in foreground\n");
|
printf(" -f to keep running in foreground\n");
|
||||||
printf(" -u name to drop privileges and run as user 'name'\n");
|
printf(" -u name to drop privileges and run as user 'name'\n");
|
||||||
printf(" -t dir to chroot to directory dir\n");
|
printf(" -t dir to chroot to directory dir\n");
|
||||||
|
|
Loading…
Reference in New Issue