mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Slightly more informative output
This commit is contained in:
parent
8b91a56a4e
commit
56fd2519f7
@ -28,7 +28,7 @@
|
|||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* $Id: shell-coffee.c,v 1.1 2008/07/03 17:56:17 adamdunkels Exp $
|
* $Id: shell-coffee.c,v 1.2 2008/07/03 21:13:13 adamdunkels Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -71,7 +71,7 @@ PROCESS_THREAD(shell_format_process, ev, data)
|
|||||||
if(input->len1 > 0 &&
|
if(input->len1 > 0 &&
|
||||||
(input->data1[0] == 'y' || input->data1[0] == 'Y')) {
|
(input->data1[0] == 'y' || input->data1[0] == 'Y')) {
|
||||||
|
|
||||||
shell_output_str(&format_command, "format: formatting file system", "");
|
shell_output_str(&format_command, "format: formatting file system, please wait...", "");
|
||||||
if(cfs_coffee_format() == 0) {
|
if(cfs_coffee_format() == 0) {
|
||||||
shell_output_str(&format_command, "format: formatting complete", "");
|
shell_output_str(&format_command, "format: formatting complete", "");
|
||||||
} else {
|
} else {
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* $Id: shell-exec.c,v 1.1 2008/02/04 23:42:17 adamdunkels Exp $
|
* $Id: shell-exec.c,v 1.2 2008/07/03 21:13:13 adamdunkels Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -49,7 +49,7 @@
|
|||||||
PROCESS(shell_exec_process, "exec");
|
PROCESS(shell_exec_process, "exec");
|
||||||
SHELL_COMMAND(exec_command,
|
SHELL_COMMAND(exec_command,
|
||||||
"exec",
|
"exec",
|
||||||
"exec: load and execute an ELF file",
|
"exec <filename>: load and execute the ELF file filename",
|
||||||
&shell_exec_process);
|
&shell_exec_process);
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
PROCESS_THREAD(shell_exec_process, ev, data)
|
PROCESS_THREAD(shell_exec_process, ev, data)
|
||||||
|
Loading…
Reference in New Issue
Block a user