From 74a79314d717312ccd90d1a0db712fc881d23948 Mon Sep 17 00:00:00 2001 From: "Nicholas J. Kain" Date: Tue, 5 Jul 2011 11:18:28 -0400 Subject: [PATCH] Document the --vendorid and --leasefile options in --help. --- ndhc/ndhc.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ndhc/ndhc.c b/ndhc/ndhc.c index 6a6f7c0..6f77eae 100644 --- a/ndhc/ndhc.c +++ b/ndhc/ndhc.c @@ -1,5 +1,5 @@ /* ndhc.c - DHCP client - * Time-stamp: <2011-07-05 11:14:03 njk> + * Time-stamp: <2011-07-05 11:18:03 njk> * * (c) 2004-2011 Nicholas J. Kain * @@ -81,17 +81,19 @@ static void show_usage(void) "Usage: ndhc [OPTIONS]\n\n" " -c, --clientid=CLIENTID Client identifier\n" " -h, --hostname=HOSTNAME Client hostname\n" +" -V, --vendorid=VENDORID Client vendor identification string\n" " -f, --foreground Do not fork after getting lease\n" " -b, --background Fork to background if lease cannot be\n" " immediately negotiated.\n" -" -p, --pidfile File to which the pid will be written\n" +" -p, --pidfile=FILE File to which the pid will be written\n" +" -l, --leasefile=FILE File to which the lease IP will be written\n" " -i, --interface=INTERFACE Interface to use (default: eth0)\n" " -n, --now Exit with failure if lease cannot be\n" " immediately negotiated.\n" " -q, --quit Quit after obtaining lease\n" " -r, --request=IP IP address to request (default: none)\n" -" -u, --user Change privileges to this user\n" -" -C, --chroot Chroot to this directory\n" +" -u, --user=USER Change privileges to this user\n" +" -C, --chroot=DIR Chroot to this directory\n" " -v, --version Display version\n" ); exit(EXIT_SUCCESS);