diff options
author | Leo C | 2018-06-27 23:46:18 +0200 |
---|---|---|
committer | Leo C | 2018-06-27 23:46:18 +0200 |
commit | 8eb73d1751705942b4f0891a90a669ce63b98866 (patch) | |
tree | a06b6ca85ef553469532a1cd79ce880f931eca49 /avr/command_tbl.c | |
parent | 447a805f04115a0e32a1b9ad6be7c0177c3f8977 (diff) | |
download | z180-stamp-8eb73d1751705942b4f0891a90a669ce63b98866.zip |
command printenv: new option -s: Print env variables in setenv commands.
Diffstat (limited to 'avr/command_tbl.c')
-rw-r--r-- | avr/command_tbl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/avr/command_tbl.c b/avr/command_tbl.c index ed14db9..592858a 100644 --- a/avr/command_tbl.c +++ b/avr/command_tbl.c @@ -126,10 +126,10 @@ CMD_TBL_ITEM_COMPLETE( CMD_TBL_ITEM_COMPLETE( printenv, CONFIG_SYS_MAXARGS, 1, do_env_print, "print environment variables", - "\n" - " - print values of all environment variables\n" - "printenv name ...\n" - " - print value of environment variable 'name'", + "[-s] [name ...]\n" + " Print value of environment variable(s) 'name'\n" + " If no names are given, print values of all environment variables\n" + " -s Print in setenv form", var_complete ), CMD_TBL_ITEM_COMPLETE( |