Changeset 478455e0 in rtems


Ignore:
Timestamp:
Nov 18, 2014, 11:03:11 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
3fe5d01
Parents:
7eada71
git-author:
Sebastian Huber <sebastian.huber@…> (11/18/14 11:03:11)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/20/14 09:30:26)
Message:

shell: Fix help topic header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/shell/main_help.c

    r7eada71 r478455e0  
    9797
    9898  if (argc<2) {
    99     printf("help: ('r' repeat last cmd - 'e' edit last cmd)\n"
    100            "  TOPIC? The topics are\n");
     99    printf("help: The topics are\n");
    101100    topic = rtems_shell_first_topic;
    102101    col = 0;
    103102    while (topic) {
    104103      if (!col){
    105         col = printf("   %s",topic->topic);
     104        col = printf("  %s",topic->topic);
    106105      } else {
    107106        if ((col+strlen(topic->topic)+2)>78){
    108107          printf("\n");
    109           col = printf("   %s",topic->topic);
     108          col = printf("  %s",topic->topic);
    110109        } else {
    111110          col+= printf(", %s",topic->topic);
Note: See TracChangeset for help on using the changeset viewer.