Put locale code back in. More cleanup of config directives and options.

git-svn-id: file:///home/mbr/svn/fwknop/trunk@231 510a4753-2344-4c79-9c09-4d669213fbeb
This commit is contained in:
Damien Stuart
2010-07-04 13:34:31 +00:00
parent b6c57aa6a0
commit 5f1f0650ea
8 changed files with 61 additions and 118 deletions

View File

@@ -61,7 +61,7 @@ enum {
/* Our getopt_long options string.
*/
#define GETOPTS_OPTION_STRING "a:c:C:Dfhi:KO:RSvV"
#define GETOPTS_OPTION_STRING "a:c:C:Dfhi:Kl:O:RSvV"
/* Our program command-line options...
*/
@@ -77,6 +77,7 @@ static struct option cmd_opts[] =
{"kill", 0, NULL, 'K'},
{"gpg-home-dir", 1, NULL, GPG_HOME_DIR },
{"gpg-key", 1, NULL, GPG_KEY },
{"locale", 1, NULL, 'l' },
{"rotate-digest-cache", 0, NULL, ROTATE_DIGEST_CACHE },
{"override-config", 1, NULL, 'O' },
{"restart", 0, NULL, 'R'},