[PATCH] login: correct a typo in command description

Paul Fertser fercerpav at gmail.com
Sat Sep 24 03:04:46 EDT 2011


Signed-off-by: Paul Fertser <fercerpav at gmail.com>
---
 commands/login.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/commands/login.c b/commands/login.c
index 610fb9e..3f6d308 100644
--- a/commands/login.c
+++ b/commands/login.c
@@ -71,9 +71,9 @@ static int do_login(struct command *cmdtp, int argc, char *argv[])
 }
 
 static const __maybe_unused char cmd_login_help[] =
-"Usage: login [[-t timeout] <command>]\n"
-"If a timeout is specified and expired the command will be executed\n"
-"by default boot\n"
+"Usage: login [-t timeout [<command>]]\n"
+"If a timeout is specified and expired the command will be executed;\n"
+"\"boot\" by default\n"
 ;
 
 BAREBOX_CMD_START(login)
-- 
1.7.3.4




More information about the barebox mailing list