summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-11-18 12:03:11 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-11-20 10:30:26 +0100
commit478455e0ea8a96c778e14e1ae1e52a8aaaf16655 (patch)
tree1b98d3785cb2dbe97494f79a367829b05e1e27c3 /cpukit
parentshell: Add mode, UID and GID to shell commands (diff)
downloadrtems-478455e0ea8a96c778e14e1ae1e52a8aaaf16655.tar.bz2
shell: Fix help topic header
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/libmisc/shell/main_help.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/cpukit/libmisc/shell/main_help.c b/cpukit/libmisc/shell/main_help.c
index 393d7e8172..43701d916a 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);
}