summaryrefslogtreecommitdiffstats
path: root/src/tools/sssctl
diff options
context:
space:
mode:
authorMichal Židek <mzidek@redhat.com>2016-10-12 13:09:37 +0200
committerLukas Slebodnik <lslebodn@redhat.com>2016-10-27 12:09:36 +0200
commitcbee11e912bb391ba254b0bac8c1159c1f634533 (patch)
treec874222319b573132031bae83918d7f7f22b742b /src/tools/sssctl
parentc7b3c43cf669e39f7ce5f4ef1a2e939b31a8b7b9 (diff)
downloadsssd-cbee11e912bb391ba254b0bac8c1159c1f634533.tar.gz
sssd-cbee11e912bb391ba254b0bac8c1159c1f634533.tar.xz
sssd-cbee11e912bb391ba254b0bac8c1159c1f634533.zip
sssctl: Flags for command initialization
Allow passing flags for command specific initialization. Currently only one flag is available to skip the confdb initialization which is required to improve config-check command. Resolves: https://fedorahosted.org/sssd/ticket/3209 Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/tools/sssctl')
-rw-r--r--src/tools/sssctl/sssctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/sssctl/sssctl.c b/src/tools/sssctl/sssctl.c
index b0510e6ae..ece1e6df1 100644
--- a/src/tools/sssctl/sssctl.c
+++ b/src/tools/sssctl/sssctl.c
@@ -276,7 +276,7 @@ int main(int argc, const char **argv)
SSS_TOOL_COMMAND("logs-fetch", "Archive SSSD log files in tarball", 0, sssctl_logs_fetch),
#ifdef HAVE_LIBINI_CONFIG_V1_3
SSS_TOOL_DELIMITER("Configuration files tools:"),
- SSS_TOOL_COMMAND("config-check", "Perform static analysis of SSSD configuration", 0, sssctl_config_check),
+ SSS_TOOL_COMMAND_FLAGS("config-check", "Perform static analysis of SSSD configuration", 0, sssctl_config_check, SSS_TOOL_FLAG_SKIP_CMD_INIT),
#endif
SSS_TOOL_LAST
};