[rtems commit] shell: Fix help topic header

Sebastian Huber sebh at rtems.org
Thu Nov 20 13:53:25 UTC 2014


Module:    rtems
Branch:    master
Commit:    478455e0ea8a96c778e14e1ae1e52a8aaaf16655
Changeset: http://git.rtems.org/rtems/commit/?id=478455e0ea8a96c778e14e1ae1e52a8aaaf16655

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Nov 18 12:03:11 2014 +0100

shell: Fix help topic header

---

 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);
         }



More information about the vc mailing list