diff options
author | Holger Schurig <holgerschurig@gmail.com> | 2014-05-13 10:28:57 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-05-14 10:03:49 +0200 |
commit | c524f74d5b491d3d003b5d6daedd75bdefd08c23 (patch) | |
tree | 7ae335633ff9a6c75e74baa7c23b7e91c2e0af19 /commands/Kconfig | |
parent | 5bd055b660f89641494fa8a2a2262fdab195d288 (diff) | |
download | barebox-c524f74d5b491d3d003b5d6daedd75bdefd08c23.tar.gz barebox-c524f74d5b491d3d003b5d6daedd75bdefd08c23.tar.xz |
commands: NET_DHCP -> CMD_DHCP
* this compile option actually turns on a command, so name it
accordingly
* also move the Kconfig definition into commands/Kconfig, thus
placing getopt into the "Network commands" section
* while at it, improve Kconfig documention
Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r-- | commands/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig index 8052941272..1dfc1dacf2 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -1043,6 +1043,22 @@ if NET menu "Network" +config CMD_DHCP + bool + prompt "dhcp" + help + DHCP client to obtain IP or boot params + + Usage: dhcp [-HvcuUr] + + Options: + -H HOSTNAME hostname to send to the DHCP server + -v ID DHCP Vendor ID (code 60) submitted in DHCP requests + -c ID DHCP Client ID (code 61) submitted in DHCP requests + -u UUID DHCP Client UUID (code 97) submitted in DHCP requests + -U CLASS DHCP User class (code 77) submitted in DHCP requests + -r RETRY retry limit (default 20)# + config CMD_HOST tristate select NET_RESOLV |