[cli] Unify case of user visible strings.
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 18 Apr 2009 01:32:24 +0000 (03:32 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 18 Apr 2009 01:32:24 +0000 (03:32 +0200)
Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

cli/core.c
cli/help.c
include/libvsccli/option.h

index 3fe4113..ec4acbe 100644 (file)
@@ -56,7 +56,7 @@ static const struct VscCliOptionInfo _quit_option_infos[] = {
 
 const struct VscCliCommandInfo vsc_cli_quit_command_info = {
        "quit",
-       "quit interactive mode",
+       "Quit interactive mode",
        "",
        _quit,
        _quit_option_infos,
index b1ddae5..40bd4af 100644 (file)
@@ -40,14 +40,14 @@ _help (struct VscError *error, const struct VscCliCommandInfo *command_info,
        const struct VscCliOption *option_list, void *user_data);
 
 static const struct VscCliOptionInfo _help_option_infos[] = {
-       { -1, "command", "name of command", VSC_CLI__OPTION_TYPE__STRING,
+       { -1, "command", "Name of command", VSC_CLI__OPTION_TYPE__STRING,
          FALSE, FALSE },
        VSC_CLI__NULL__OPTION_INFO,
 };
 
 const struct VscCliCommandInfo vsc_cli_help_command_info = {
        "help",
-       "print help",
+       "Print help",
        "Prints global or command specific help",
        _help,
        _help_option_infos,
index a59f52a..1d996f4 100644 (file)
 #define VSC_CLI__VERBOSE_ERRORS__OPTION_INFO__LONG_NAME "verbose-errors"
 #define VSC_CLI__VERBOSE_ERRORS__OPTION_INFO \
        { -1, VSC_CLI__VERBOSE_ERRORS__OPTION_INFO__LONG_NAME, \
-         "enable verbose error reporting", \
+         "Enable verbose error reporting", \
          VSC_CLI__OPTION_TYPE__BOOLEAN, TRUE, FALSE }
 
 #define VSC_CLI__NO_COLOR__OPTION_INFO__LONG_NAME "no-color"
 #define VSC_CLI__NO_COLOR__OPTION_INFO \
        { -1, VSC_CLI__NO_COLOR__OPTION_INFO__LONG_NAME, \
-         "disable output coloring", \
+         "Disable output coloring", \
          VSC_CLI__OPTION_TYPE__BOOLEAN, TRUE, FALSE }
 
 #ifdef __cplusplus