+static void print_usage(FILE *f)
+{
+ fprintf(f, "Usage: %s [options] [interface]\n", progname);
+ if (f != stdout)
+ fprintf(f, "Try %s -H for more information.\n", progname);
+}
+
+static void print_help(void)
+{
+ 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.");
+}
+
+static void print_version(void)