[bug] udhcpc --help

Denys Vlasenko vda.linux at googlemail.com
Sat Aug 7 12:03:06 UTC 2010


On Saturday 07 August 2010 11:22, Cristian Ionescu-Idbohrn wrote:
> On Sat, 7 Aug 2010, Denys Vlasenko wrote:
> 
> > On Friday 06 August 2010 19:09, Cristian Ionescu-Idbohrn wrote:
> > > 	BusyBox v1.18.0.git (2010-08-05 19:13:01 CEST) multi-call binary.
> > >
> > > Documents '-v' option here:
> > >
> > > 	Usage: udhcpc [-fbnqvoCR] [-i IFACE] [-r IP] [-s PROG] [-p PIDFILE]
> > > 	                    ^
> > >         	[-H HOSTNAME] [-c CID] [-V VENDOR] [-O DHCP_OPT]...
> > >
> > > but not here:
> > >
> > > 	        -i,--interface IFACE    Interface to use (default eth0)
> > > 	        -p,--pidfile FILE       Create pidfile
> > > 	        -r,--request IP         IP address to request
> > > 	        -s,--script PROG        Run PROG at DHCP events (default /usr/share/udhcpc/default.script)
> > > 	        -t,--retries N          Send up to N discover packets
> > > 	        -T,--timeout N          Pause between packets (default 3 seconds)
> > > 	        -A,--tryagain N         Wait N seconds after failure (default 20)
> > > 	        -f,--foreground         Run in foreground
> > > 	        -b,--background         Background if lease is not obtained
> > > 	        -S,--syslog             Log to syslog too
> > > 	        -n,--now                Exit if lease is not obtained
> > > 	        -q,--quit               Exit after obtaining lease
> > > 	        -R,--release            Release IP on exit
> > > 	        -a,--arping             Use arping to validate offered address
> > > 	        -O,--request-option OPT Request DHCP option OPT (cumulative)
> > > 	        -o,--no-default-options Don't request any options (unless -O is given)
> > > 	        -x OPT:VAL              Include option OPT in sent packets (cumulative)
> > > 	        -F,--fqdn NAME          Ask server to update DNS mapping for NAME
> > > 	        -H,-h,--hostname NAME   Send NAME as client hostname (default none)
> > > 	        -V,--vendorclass VENDOR Vendor identifier (default 'udhcp VERSION')
> > > 	        -c,--clientid CLIENTID  Client identifier (default own MAC)
> > > 	        -C,--clientid-none      Don't send client identifier
> > >
> > > Similar miss in earlier 1.17.x versions.  Don't know if also present in
> > > even earlier versions.
> >
> > Fixed in git. Thanks
> 
> Thanks.  There is, by the way, a small type in:
> 
> diff --git a/networking/udhcp/Config.src b/networking/udhcp/Config.src
> index 331dffc..dcd493f 100644
> --- a/networking/udhcp/Config.src
> +++ b/networking/udhcp/Config.src
> @@ -85,7 +85,7 @@ config UDHCP_DEBUG
>  	depends on UDHCPD || UDHCPC || DHCPRELAY
>  	help
>  	  Verbosity can be increased with multiple -v options.
> -	  This options controls how high it can be cranked up.
> +	  This option controls how high it can be cranked up.
> 
>  	  Bigger values result in bigger code. Levels above 1
>  	  are very verbose and useful for debugging only.

Fixed, thanks.
-- 
vda


More information about the busybox mailing list