From: Alejandro Colomar Date: Thu, 25 Jun 2026 20:27:11 +0000 (+0200) Subject: src/: usage(): tfix X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1a8daf0e456b2b5d120576407302f07b5ef1a6fb;p=thirdparty%2Fshadow.git src/: usage(): tfix Fixes: 1ed06fee4c8d (2026-02-25; "usermod: Add option to automatically find subordinate IDs") Fixes: 3f7a72e9677b (2022-08-01; "useradd: add -F option for updating /etc/sub[ig]id for system accounts") Closes: Reported-by: Rafael Fontenelle Signed-off-by: Alejandro Colomar --- diff --git a/src/useradd.c b/src/useradd.c index e6c80bd6f..d35c7e43f 100644 --- a/src/useradd.c +++ b/src/useradd.c @@ -909,7 +909,7 @@ static void usage (int status) (void) fputs (_(" -e, --expiredate EXPIRE_DATE expiration date of the new account\n"), usageout); (void) fputs (_(" -f, --inactive INACTIVE password inactivity period of the new account\n"), usageout); #ifdef ENABLE_SUBIDS - (void) fputs (_(" -F, --add-subids-for-system add entries to sub[ud]id even when adding a system user\n"), usageout); + (void) fputs (_(" -F, --add-subids-for-system add entries to sub[ug]id even when adding a system user\n"), usageout); #endif (void) fputs (_(" -g, --gid GROUP name or ID of the primary group of the new\n" " account\n"), usageout); diff --git a/src/usermod.c b/src/usermod.c index 3afe19ea4..d0a6158cf 100644 --- a/src/usermod.c +++ b/src/usermod.c @@ -455,7 +455,7 @@ usage (int status) (void) fputs (_(" -V, --del-subuids FIRST-LAST remove range of subordinate uids\n"), usageout); (void) fputs (_(" -w, --add-subgids FIRST-LAST add range of subordinate gids\n"), usageout); (void) fputs (_(" -W, --del-subgids FIRST-LAST remove range of subordinate gids\n"), usageout); - (void) fputs (_(" -S, --add-subids add entries to sub[ud]id based on system defaults\n"), usageout); + (void) fputs (_(" -S, --add-subids add entries to sub[ug]id based on system defaults\n"), usageout); #endif /* ENABLE_SUBIDS */ #ifdef WITH_SELINUX (void) fputs (_(" -Z, --selinux-user SEUSER new SELinux user mapping for the user account\n"), usageout);