add short for verbose; remove config debug printing

This commit is contained in:
Yves Rutschle 2024-07-10 15:37:34 +02:00
parent b619f5bf36
commit c892fc4b34
2 changed files with 1 additions and 2 deletions

View File

@ -258,8 +258,6 @@ int main(int argc, char *argv[], char* envp[])
if (res) exit(6);
config_finish(&cfg);
sslhcfg_fprint(stdout, &cfg, 0);
if (cfg.version) {
printf("%s %s\n", server_type, VERSION);
exit(0);

View File

@ -26,6 +26,7 @@ config: {
type: "list",
items: (
{ name: "verbose"; type: "int" default: 0;
short: "v";
description: "Override all verbosness options" },
{ name: "verbose-config"; type: "int"; default: 0;
description: "Print configuration at startup" },