Add "sections" to -help output
[oweals/openssl.git] / apps / version.c
index 7350ccf78f091a25386eab7d0d41a6b794508bac..2b06f9221b63b8e657be0f60eee23695f84dd05f 100644 (file)
@@ -37,7 +37,10 @@ typedef enum OPTION_choice {
 } OPTION_CHOICE;
 
 const OPTIONS version_options[] = {
+    OPT_SECTION("General"),
     {"help", OPT_HELP, '-', "Display this summary"},
+
+    OPT_SECTION("Output"),
     {"a", OPT_A, '-', "Show all data"},
     {"b", OPT_B, '-', "Show build date"},
     {"d", OPT_D, '-', "Show configuration directory"},