Verify that the configuration keys in the file are valid.

- Return an error if any of the keys don't match valid flags.
- Fix an issue ignoring merged values as named values.
- Fix tlsverify configuration key.
- Fix bug in mflag to avoid panics when one of the flag set doesn't have any flag.

Signed-off-by: David Calavera <david.calavera@gmail.com>
This commit is contained in:
David Calavera 2016-01-20 17:16:49 -05:00 committed by Tibor Vass
parent b1fbfa3b04
commit 9930f31f74
1 changed files with 1 additions and 1 deletions

View File

@ -852,7 +852,7 @@ This is a full example of the allowed configuration options in the file:
"hosts": [],
"log-level": "",
"tls": true,
"tls-verify": true,
"tlsverify": true,
"tls-opts": {
"tlscacert": "",
"tlscert": "",