--- libaitcli/src/cli.c 2012/07/22 22:37:08 1.4 +++ libaitcli/src/cli.c 2013/05/30 09:16:42 1.5 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: cli.c,v 1.4 2012/07/22 22:37:08 misho Exp $ +* $Id: cli.c,v 1.5 2013/05/30 09:16:42 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 +Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -47,7 +47,8 @@ SUCH DAMAGE. /* - * cli_Cmd_Exit() Builtin helper function for Exit from Cli + * cli_Cmd_Exit() - Builtin helper function for Exit from Cli + * * @buffer = CLI buffer * @idx = Selected command ID * @args = Parsed arguments array @@ -60,7 +61,8 @@ int cli_Cmd_Exit(void * __restrict buffer, int idx, ch } /* - * cli_Cmd_Help() Builtin helper function for Help screen + * cli_Cmd_Help() - Builtin helper function for Help screen + * * @buffer = CLI buffer * @idx = Selected command ID * @args = Parsed arguments array @@ -72,7 +74,7 @@ int cli_Cmd_Help(void * __restrict buffer, int idx, ch struct tagCommand *cmd; if (!buffer) { - cli_SetErr(EINVAL, "Error:: invalid input parameters ..."); + cli_SetErr(EINVAL, "Invalid input parameters ..."); return RETCODE_ERR; } @@ -101,7 +103,8 @@ int cli_Cmd_Help(void * __restrict buffer, int idx, ch } /* - * cli_Cmd_Unsupported() Builtin helper function for unsupported commands + * cli_Cmd_Unsupported() - Builtin helper function for unsupported commands + * * @buffer = CLI buffer * @idx = Selected command ID * @args = Parsed arguments array