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>
Showing
- board/esd/pmc440/cmd_pmc440.c 1 addition, 1 deletionboard/esd/pmc440/cmd_pmc440.c
- common/cmd_nvedit.c 17 additions, 9 deletionscommon/cmd_nvedit.c
- common/env_dataflash.c 1 addition, 1 deletioncommon/env_dataflash.c
- common/env_eeprom.c 1 addition, 1 deletioncommon/env_eeprom.c
- common/env_fat.c 1 addition, 1 deletioncommon/env_fat.c
- common/env_flash.c 2 additions, 2 deletionscommon/env_flash.c
- common/env_mmc.c 1 addition, 1 deletioncommon/env_mmc.c
- common/env_nand.c 2 additions, 2 deletionscommon/env_nand.c
- common/env_nvram.c 1 addition, 1 deletioncommon/env_nvram.c
- common/env_onenand.c 1 addition, 1 deletioncommon/env_onenand.c
- common/env_sf.c 2 additions, 2 deletionscommon/env_sf.c
- include/search.h 3 additions, 2 deletionsinclude/search.h
- lib/hashtable.c 4 additions, 1 deletionlib/hashtable.c
Loading
Please register or sign in to comment