]> git.ipfire.org Git - people/ms/u-boot.git/commit - common/env_mmc.c
env: Hide '.' variables in env print by default
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 12 Dec 2012 04:16:23 +0000 (22:16 -0600)
committerTom Rini <trini@ti.com>
Thu, 13 Dec 2012 18:46:55 +0000 (11:46 -0700)
commitbe11235ab802844e12d84921a38fd8ae4ddda080
tree3ae5bb11aec34357c28bb46ed9ed66ad94f9f63f
parentec8a252cd492a7a409d6912aebeff34bb9e1e1e1
env: Hide '.' variables in env print by default

When printing all variables with env print, don't print variables that
begin with '.'.  If env print is called with a '-a' switch, then
include variables that begin with '.' (just like the ls command).

Variables printed explicitly will be printed even without the -a.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
13 files changed:
board/esd/pmc440/cmd_pmc440.c
common/cmd_nvedit.c
common/env_dataflash.c
common/env_eeprom.c
common/env_fat.c
common/env_flash.c
common/env_mmc.c
common/env_nand.c
common/env_nvram.c
common/env_onenand.c
common/env_sf.c
include/search.h
lib/hashtable.c