summaryrefslogtreecommitdiff
path: root/apps/examples/telnetd
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-01-30 22:20:42 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-01-30 22:20:42 +0000
commit9d5a2de3b28f61877858489604ddbaaf727e5409 (patch)
treefe3d918b2d1dec3f298c02e9ac77527b7c5a6f3d /apps/examples/telnetd
parent9ddfc032d424842691e1f4a30960547b578c9036 (diff)
downloadnuttx-9d5a2de3b28f61877858489604ddbaaf727e5409.tar.gz
nuttx-9d5a2de3b28f61877858489604ddbaaf727e5409.tar.bz2
nuttx-9d5a2de3b28f61877858489604ddbaaf727e5409.zip
A few more telnet updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4348 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/telnetd')
-rw-r--r--apps/examples/telnetd/shell.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/examples/telnetd/shell.c b/apps/examples/telnetd/shell.c
index 69f348615..356c33738 100644
--- a/apps/examples/telnetd/shell.c
+++ b/apps/examples/telnetd/shell.c
@@ -93,9 +93,9 @@ static struct ptentry_s g_parsetab[] =
static void shell_help(int argc, char **argv)
{
- printf("Available commands:");
- printf(" help, ? - show help");
- printf(" exit - exit shell");
+ printf("Available commands:\n");
+ printf(" help, ? - show help\n");
+ printf(" exit - exit shell\n");
}
/****************************************************************************
@@ -157,8 +157,8 @@ int shell_session(int argc, char *argv[])
{
char line[128];
- printf("uIP command shell -- NuttX style");
- printf("Type '?' and return for help");
+ printf("uIP command shell -- NuttX style\n");
+ printf("Type '?' and return for help\n");
for(;;)
{