mirror of
https://github.com/yrutschle/sslh.git
synced 2025-04-12 15:17:14 +03:00
add short for verbose; remove config debug printing
This commit is contained in:
parent
b619f5bf36
commit
c892fc4b34
@ -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);
|
||||
|
@ -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" },
|
||||
|
Loading…
x
Reference in New Issue
Block a user