"hostname --help" prints wrong help message

Denis Vlasenko vda.linux at googlemail.com
Sun Mar 11 21:17:47 UTC 2007


On Sunday 11 March 2007 17:58, Dirk Clemens wrote:
> # hostname --help
> BusyBox v1.5.0.svn (2007-03-06 17:03:20 CET) multi-call binary
> 
> Usage: hostname [-c <conf file>] [-p <port>] [-i] [-f] [-r <realm>] [-m
> pass] [-h home] [-d/-e <string>]
> 
> Listen for incoming http server requests

Wow...

Please send your .config. And also check whether in your tree
in applets.h alphabetical order is not botched. Should be:

...
USE_HOSTID(APPLET(hostid, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_HOSTNAME(APPLET(hostname, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_HTTPD(APPLET(httpd, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
USE_HUSH(APPLET_NOUSAGE(hush, hush, _BB_DIR_BIN, _BB_SUID_NEVER))
...

--
vda



More information about the busybox mailing list