summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/tools/sss_groupmod.c2
-rw-r--r--server/tools/sss_usermod.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/server/tools/sss_groupmod.c b/server/tools/sss_groupmod.c
index 020a1f2e2..ed16033a1 100644
--- a/server/tools/sss_groupmod.c
+++ b/server/tools/sss_groupmod.c
@@ -182,7 +182,7 @@ int main(int argc, const char **argv)
POPT_AUTOHELP
{ "append-group", 'a', POPT_ARG_STRING, NULL, 'a', "Groups to add this group to", NULL },
{ "remove-group", 'r', POPT_ARG_STRING, NULL, 'r', "Groups to remove this group from", NULL },
- { "gid", 'g', POPT_ARG_INT, &pc_gid, 0, "The GID of the group", NULL },
+ { "gid", 'g', POPT_ARG_INT | POPT_ARGFLAG_DOC_HIDDEN, &pc_gid, 0, "The GID of the group", NULL },
POPT_TABLEEND
};
poptContext pc = NULL;
diff --git a/server/tools/sss_usermod.c b/server/tools/sss_usermod.c
index 03127899f..63779dd1c 100644
--- a/server/tools/sss_usermod.c
+++ b/server/tools/sss_usermod.c
@@ -198,8 +198,8 @@ int main(int argc, const char **argv)
const char *pc_shell = NULL;
struct poptOption long_options[] = {
POPT_AUTOHELP
- { "uid", 'u', POPT_ARG_INT, &pc_uid, 0, "The UID of the user", NULL },
- { "gid", 'g', POPT_ARG_INT, &pc_gid, 0, "The GID of the user", NULL },
+ { "uid", 'u', POPT_ARG_INT | POPT_ARGFLAG_DOC_HIDDEN, &pc_uid, 0, "The UID of the user", NULL },
+ { "gid", 'g', POPT_ARG_INT | POPT_ARGFLAG_DOC_HIDDEN, &pc_gid, 0, "The GID of the user", NULL },
{ "gecos", 'c', POPT_ARG_STRING, &pc_gecos, 0, "The comment string", NULL },
{ "home", 'h', POPT_ARG_STRING, &pc_home, 0, "Home directory", NULL },
{ "shell", 's', POPT_ARG_STRING, &pc_shell, 0, "Login shell", NULL },