mirror of
https://github.com/yrutschle/sslh.git
synced 2025-06-09 11:52:11 +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);
|
if (res) exit(6);
|
||||||
config_finish(&cfg);
|
config_finish(&cfg);
|
||||||
|
|
||||||
sslhcfg_fprint(stdout, &cfg, 0);
|
|
||||||
|
|
||||||
if (cfg.version) {
|
if (cfg.version) {
|
||||||
printf("%s %s\n", server_type, VERSION);
|
printf("%s %s\n", server_type, VERSION);
|
||||||
exit(0);
|
exit(0);
|
||||||
|
@ -26,6 +26,7 @@ config: {
|
|||||||
type: "list",
|
type: "list",
|
||||||
items: (
|
items: (
|
||||||
{ name: "verbose"; type: "int" default: 0;
|
{ name: "verbose"; type: "int" default: 0;
|
||||||
|
short: "v";
|
||||||
description: "Override all verbosness options" },
|
description: "Override all verbosness options" },
|
||||||
{ name: "verbose-config"; type: "int"; default: 0;
|
{ name: "verbose-config"; type: "int"; default: 0;
|
||||||
description: "Print configuration at startup" },
|
description: "Print configuration at startup" },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user