diff options
| author | Patrick Delaunay <[email protected]> | 2020-06-19 14:03:34 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2020-07-26 14:35:30 -0400 |
| commit | 6718ebd0327a255c6e3e840c3105ee397c8c0326 (patch) | |
| tree | e474d2f0d4ace52f75423ce29809957978256512 /include/debug_uart.h | |
| parent | 8968288cb477ba69b002db01a6407cf78e3a6e06 (diff) | |
cmd: env: add option for quiet output on env info
The "env info" can be use for test with -d and -p parameter,
in scripting case the output of the command is not needed.
This patch allows to deactivate this output with a new option "-q".
For example, we can save the environment if default
environment is used and persistent storage is managed with:
if env info -p -d -q; then env save; fi
Without the quiet option, I have the unnecessary traces
First boot:
Default environment is used
Environment can be persisted
Saving Environment to EXT4... File System is consistent
Next boot:
Environment was loaded from persistent storage
Environment can be persisted
Signed-off-by: Patrick Delaunay <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'include/debug_uart.h')
0 files changed, 0 insertions, 0 deletions
