- fprintf(stderr,
- "\nUsage:\n"
- " rarpd [options] [interface]\n"
- "\nOptions:\n"
- " -A listen also arp messages\n"
- " -a listen on all the interfaces\n"
- " -b <dir> tftpd boot directory\n"
- " -d debug mode\n"
- " -e /etc/ethers markup alone is fine\n"
- " -v verbose mode\n"
- " -V print version and exit\n"
- "\nFor more details see rarpd(8).\n"
- );
- exit(1);
+ print_usage(stdout);
+ putchar('\n');
+
+ puts("Options:");
+ puts(" -A listen also arp messages");
+ puts(" -a listen on all the interfaces");
+ puts(" -b <dir> tftpd boot directory");
+ puts(" -d debug mode");
+ puts(" -e /etc/ethers markup alone is fine");
+ puts(" -v verbose mode");
+ puts(" -V print version and then exit");
+ puts(" -H print this message and then exit");
+ putchar('\n');
+
+ puts("For more information, see the rarpd(8) man page.");