[cli] Fixed simple bug in 'vsc_cli_option_get_number()'.
authorMaximilian Wilhelm <max@rfc2324.org>
Fri, 17 Apr 2009 05:06:47 +0000 (07:06 +0200)
committerMaximilian Wilhelm <max@rfc2324.org>
Fri, 17 Apr 2009 05:06:47 +0000 (07:06 +0200)
Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

cli/option.c

index 0b3064e..99a7510 100644 (file)
@@ -284,7 +284,7 @@ vsc_cli_option_get_number (const struct VscCliOption *option_list,
        VSC__ASSERT (option_long_name != NULL);
 
        if (found != NULL) {
-               *found = TRUE;
+               *found = FALSE;
        }
 
        option = _option_get (option_list, option_long_name);