Remove some wrong assert's.
[vsc-common.git] / cli / help.c
index b976241..3a9b105 100644 (file)
@@ -61,7 +61,6 @@ _help (struct VscError *error, const struct VscCliOption *option_list,
 
        VSC__ASSERT (error != NULL);
        VSC__ASSERT (! error->occured);
-       VSC__ASSERT (option_list != NULL);
 
        command_name = vsc_cli_option_get_string (option_list, "command");
 
@@ -92,10 +91,10 @@ _help (struct VscError *error, const struct VscCliOption *option_list,
                }
 
                printf ("\n");
-               printf ("\n");
 
                if (command_info->description != NULL &&
                    *command_info->description != '\0') {
+                       printf ("\n");
                        printf ("\033[1mDESCRIPTION\033[0m\n");
                        printf ("       %s\n", command_info->description);
                        printf ("\n");