From 7f5a7a07a57fb264371491e0d8d7d5cd94a81b6c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 17 Jan 2016 08:12:51 -0600 Subject: [PATCH] Costmetic alignment --- nshlib/nsh_parse.c | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/nshlib/nsh_parse.c b/nshlib/nsh_parse.c index ed8bbd1dc..b487efd97 100644 --- a/nshlib/nsh_parse.c +++ b/nshlib/nsh_parse.c @@ -219,40 +219,40 @@ static const char g_nullstring[] = ""; */ #if CONFIG_VERSION_MAJOR != 0 || CONFIG_VERSION_MINOR != 0 -const char g_nshgreeting[] = "\nNuttShell (NSH) NuttX-" CONFIG_VERSION_STRING "\n"; +const char g_nshgreeting[] = "\nNuttShell (NSH) NuttX-" CONFIG_VERSION_STRING "\n"; #else -const char g_nshgreeting[] = "\nNuttShell (NSH)\n"; +const char g_nshgreeting[] = "\nNuttShell (NSH)\n"; #endif /* Telnet login prompts */ #if defined(CONFIG_NSH_TELNET_LOGIN) && defined(CONFIG_NSH_TELNET) -const char g_telnetgreeting[] = "\nWelcome to NuttShell(NSH) Telnet Server...\n"; -const char g_userprompt[] = "login: "; -const char g_passwordprompt[] = "password: "; -const char g_loginsuccess[] = "\nUser Logged-in!\n"; -const char g_badcredentials[] = "\nInvalid username or password\n"; -const char g_loginfailure[] = "Login failed!\n"; +const char g_telnetgreeting[] = "\nWelcome to NuttShell(NSH) Telnet Server...\n"; +const char g_userprompt[] = "login: "; +const char g_passwordprompt[] = "password: "; +const char g_loginsuccess[] = "\nUser Logged-in!\n"; +const char g_badcredentials[] = "\nInvalid username or password\n"; +const char g_loginfailure[] = "Login failed!\n"; #endif /* The NSH prompt */ -const char g_nshprompt[] = "nsh> "; +const char g_nshprompt[] = "nsh> "; /* Common, message formats */ -const char g_fmtsyntax[] = "nsh: %s: syntax error\n"; -const char g_fmtargrequired[] = "nsh: %s: missing required argument(s)\n"; -const char g_fmtnomatching[] = "nsh: %s: no matching %s\n"; -const char g_fmtarginvalid[] = "nsh: %s: argument invalid\n"; -const char g_fmtargrange[] = "nsh: %s: value out of range\n"; -const char g_fmtcmdnotfound[] = "nsh: %s: command not found\n"; -const char g_fmtnosuch[] = "nsh: %s: no such %s: %s\n"; -const char g_fmttoomanyargs[] = "nsh: %s: too many arguments\n"; -const char g_fmtdeepnesting[] = "nsh: %s: nesting too deep\n"; -const char g_fmtcontext[] = "nsh: %s: not valid in this context\n"; +const char g_fmtsyntax[] = "nsh: %s: syntax error\n"; +const char g_fmtargrequired[] = "nsh: %s: missing required argument(s)\n"; +const char g_fmtnomatching[] = "nsh: %s: no matching %s\n"; +const char g_fmtarginvalid[] = "nsh: %s: argument invalid\n"; +const char g_fmtargrange[] = "nsh: %s: value out of range\n"; +const char g_fmtcmdnotfound[] = "nsh: %s: command not found\n"; +const char g_fmtnosuch[] = "nsh: %s: no such %s: %s\n"; +const char g_fmttoomanyargs[] = "nsh: %s: too many arguments\n"; +const char g_fmtdeepnesting[] = "nsh: %s: nesting too deep\n"; +const char g_fmtcontext[] = "nsh: %s: not valid in this context\n"; #ifdef CONFIG_NSH_STRERROR -const char g_fmtcmdfailed[] = "nsh: %s: %s failed: %s\n"; +const char g_fmtcmdfailed[] = "nsh: %s: %s failed: %s\n"; #else const char g_fmtcmdfailed[] = "nsh: %s: %s failed: %d\n"; #endif