diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2009-03-10 10:18:35 +0100 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-03-10 09:41:15 -0400 |
commit | 603e64676bae6640588291289bd9cbc100ee35c6 (patch) | |
tree | e1fc8b234e14377971f6435311d4bd4ce7e8610f | |
parent | e8222252d279d6a1caa2ba19c7eddf056a22fd3f (diff) | |
download | sssd-603e64676bae6640588291289bd9cbc100ee35c6.tar.gz sssd-603e64676bae6640588291289bd9cbc100ee35c6.tar.bz2 sssd-603e64676bae6640588291289bd9cbc100ee35c6.zip |
Hide uid and gid options in usermod and groupmod
-rw-r--r-- | server/tools/sss_groupmod.c | 2 | ||||
-rw-r--r-- | server/tools/sss_usermod.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/server/tools/sss_groupmod.c b/server/tools/sss_groupmod.c index 020a1f2e..ed16033a 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 03127899..63779dd1 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 }, |