From fc0c5aa46b0b96cdf90fd0c30649005deba62a2e Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Sun, 11 Jun 2006 22:02:26 +0000 Subject: [PATCH] Added more help --- iodine.c | 4 +++- iodined.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/iodine.c b/iodine.c index 1e5d453..72d3b4b 100644 --- a/iodine.c +++ b/iodine.c @@ -174,7 +174,9 @@ help() { printf("iodine IP over DNS tunneling client\n"); printf("Usage: %s [-v] [-h] [-f] [-u user] [-t chrootdir] " "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(" -t dir to chroot to directory dir\n"); printf("nameserver is the IP number of the relaying nameserver\n"); diff --git a/iodined.c b/iodined.c index 439d1e2..f3b9027 100644 --- a/iodined.c +++ b/iodined.c @@ -158,6 +158,8 @@ help() { printf("iodine IP over DNS tunneling server\n"); printf("Usage: %s [-v] [-h] [-f] [-u user] [-t chrootdir] [-m mtu] " "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(" -u name to drop privileges and run as user 'name'\n"); printf(" -t dir to chroot to directory dir\n");