Document most missing options
[openssl.git] / apps / list.c
index a5382ac24fb2a80eafddacc01a500ed34883590c..ed6f1c71ac679e3b25000355d84fedf4d8e2515f 100644 (file)
@@ -364,10 +364,12 @@ static void list_options_for_command(const char *command)
     for ( ; o->name != NULL; o++) {
         char c = o->valtype;
 
+        if (o->name == OPT_PARAM_STR)
+            break;
+
         if (o->name == OPT_HELP_STR
                 || o->name == OPT_MORE_STR
                 || o->name == OPT_SECTION_STR
-                || o->name == OPT_PARAM_STR
                 || o->name[0] == '\0')
             continue;
         BIO_printf(bio_out, "%s %c\n", o->name, c == '\0' ? '-' : c);