JIM: document "echo" command

Document "-n" option in manual;
Modify "echo" command definition as COMMAND_HANDLER to
easily add help message
Add help message aligned with manual.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
Antonio Borneo
2010-11-08 15:13:28 +08:00
committed by Øyvind Harboe
parent d220e22e63
commit 4747af362d
2 changed files with 16 additions and 10 deletions

View File

@@ -5446,9 +5446,10 @@ file (which is normally the server's standard output).
@xref{Running}.
@end deffn
@deffn Command echo message
@deffn Command echo [-n] message
Logs a message at "user" priority.
Output @var{message} to stdout.
Option "-n" suppresses trailing newline.
@example
echo "Downloading kernel -- please wait"
@end example