summaryrefslogtreecommitdiffstats
path: root/src/options.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-03-10 17:04:26 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-03-10 17:04:26 +0100
commitb7fec238bd094d70df001c069cb9ac11056f907c (patch)
treeee699df73ccd6cccaf58fb32c3eeafc5af9913bf /src/options.c
parente1b955d0fa9e6d1280d9e27cb7545e5d582dea28 (diff)
downloadfastd-b7fec238bd094d70df001c069cb9ac11056f907c.tar
fastd-b7fec238bd094d70df001c069cb9ac11056f907c.zip
Add --verify-config option
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c
index 7175c20..d30dde6 100644
--- a/src/options.c
+++ b/src/options.c
@@ -319,6 +319,10 @@ static void option_on_verify(fastd_context_t *ctx UNUSED, fastd_config_t *conf,
#endif
+static void option_verify_config(fastd_context_t *ctx UNUSED, fastd_config_t *conf) {
+ conf->verify_config = true;
+}
+
static void option_generate_key(fastd_context_t *ctx UNUSED, fastd_config_t *conf) {
conf->generate_key = true;
conf->show_key = false;