diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-11-26 21:33:59 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-11-29 20:51:31 +0100 |
commit | 020a30be0d9a3b56a98c4e4094d13d3b4e3bd4eb (patch) | |
tree | 58705c8fbff18a82690e25a34778f063054adf03 /commands/Kconfig | |
parent | 6fa8c93a5ecefe4effa0e0425441a8ff6b2ce6ab (diff) | |
download | barebox-020a30be0d9a3b56a98c4e4094d13d3b4e3bd4eb.tar.gz barebox-020a30be0d9a3b56a98c4e4094d13d3b4e3bd4eb.tar.xz |
add magicvar command
The magicvar command gives an overview about all environment variables
with a special meaning.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r-- | commands/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig index 18ab840916..78b9d2a0e6 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -383,6 +383,20 @@ config CMD_HELP default y prompt "help" +config CMD_MAGICVAR + tristate + prompt "magicvar" + help + barebox has some shell variables with special meanings. This + command shows the available magic variables. + +config CMD_MAGICVAR_HELP + bool + prompt "display description" + depends on CMD_MAGICVAR + help + Also display a description to the magic variables + config CMD_DEVINFO tristate default y |