]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
unshare: fix inconsistency in usage message
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Sun, 21 Dec 2025 21:53:30 +0000 (16:53 -0500)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Thu, 1 Jan 2026 03:49:45 +0000 (22:49 -0500)
Closes: #3814
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
sys-utils/unshare.c

index 6f82461b86cdb76cae50abfd12bbfd410d525ef9..889d3fff5b177dcb707786341472e39decedf1b6 100644 (file)
@@ -759,6 +759,7 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_(" -r, --map-root-user       map current user to root (implies --user)\n"), out);
        fputs(_(" -c, --map-current-user    map current user to itself (implies --user)\n"), out);
        fputs(_(" --map-auto                map users and groups automatically (implies --user)\n"), out);
+       fputs(_(" --map-subids              map the first block of user IDs owned by euid (implies --user)\n"), out);
        fputs(_(" --map-users <inneruid>:<outeruid>:<count>\n"
                "                           map count users from outeruid to inneruid (implies --user)\n"), out);
        fputs(_(" --map-groups <innergid>:<outergid>:<count>\n"