Add helptext

This commit is contained in:
Bjorn Andersson 2006-06-11 14:33:59 +00:00
parent b7dc8a3779
commit 1868977228
2 changed files with 4 additions and 2 deletions

View File

@ -117,6 +117,7 @@ help() {
"nameserver topdomain\n", __progname);
printf(" -f is 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");
exit(0);
}
@ -161,7 +162,7 @@ main(int argc, char **argv)
break;
default:
usage();
/* NOTREACHED */
break;
}
}

View File

@ -119,6 +119,7 @@ help() {
"topdomain\n", __progname);
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");
exit(0);
}
@ -163,7 +164,7 @@ main(int argc, char **argv)
break;
default:
usage();
/* NOTREACHED */
break;
}
}