summaryrefslogtreecommitdiffstats
path: root/server/tools/sss_userdel.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/tools/sss_userdel.c')
-rw-r--r--server/tools/sss_userdel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/tools/sss_userdel.c b/server/tools/sss_userdel.c
index 642e02bae..713c93831 100644
--- a/server/tools/sss_userdel.c
+++ b/server/tools/sss_userdel.c
@@ -116,9 +116,11 @@ int main(int argc, const char **argv)
struct sss_domain_info *dom;
struct passwd *pwd_info;
+ int pc_debug = 0;
poptContext pc = NULL;
struct poptOption long_options[] = {
POPT_AUTOHELP
+ { "debug", '\0', POPT_ARG_INT | POPT_ARGFLAG_DOC_HIDDEN, &pc_debug, 0, "The debug level to run with", NULL },
POPT_TABLEEND
};
@@ -147,6 +149,8 @@ int main(int argc, const char **argv)
goto fini;
}
+ debug_level = pc_debug;
+
user_ctx->username = poptGetArg(pc);
if(user_ctx->username == NULL) {
usage(pc, "Specify user to delete\n");