[PATCH 20/22] shell: Fix help topic header
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Nov 18 14:37:26 UTC 2014
---
cpukit/libmisc/shell/main_help.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/cpukit/libmisc/shell/main_help.c b/cpukit/libmisc/shell/main_help.c
index 393d7e8..43701d9 100644
--- a/cpukit/libmisc/shell/main_help.c
+++ b/cpukit/libmisc/shell/main_help.c
@@ -96,17 +96,16 @@ static int rtems_shell_help(
lines = 16;
if (argc<2) {
- printf("help: ('r' repeat last cmd - 'e' edit last cmd)\n"
- " TOPIC? The topics are\n");
+ printf("help: The topics are\n");
topic = rtems_shell_first_topic;
col = 0;
while (topic) {
if (!col){
- col = printf(" %s",topic->topic);
+ col = printf(" %s",topic->topic);
} else {
if ((col+strlen(topic->topic)+2)>78){
printf("\n");
- col = printf(" %s",topic->topic);
+ col = printf(" %s",topic->topic);
} else {
col+= printf(", %s",topic->topic);
}
--
1.8.4.5
More information about the devel
mailing list