]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mount: add missing --ro option info in usage message
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 24 Nov 2025 03:57:35 +0000 (22:57 -0500)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 24 Nov 2025 13:39:32 +0000 (08:39 -0500)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
sys-utils/mount.c

index 2450228d04da6ff98a25d25bcb97d1ea183de89f..377cafcf84905cb138480985e41e72a805438dd1 100644 (file)
@@ -583,7 +583,7 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_("     --onlyonce          check if filesystem is already mounted on target\n"), out);
        fputs(_(" -o, --options <list>    comma-separated list of mount options\n"), out);
        fputs(_(" -O, --test-opts <list>  limit the set of filesystems (use with -a)\n"), out);
-       fputs(_(" -r, --read-only         mount the filesystem read-only (same as -o ro)\n"), out);
+       fputs(_(" -r, --ro, --read-only   mount the filesystem read-only (same as -o ro)\n"), out);
        fputs(_(" -t, --types <list>      limit the set of filesystem types\n"), out);
        fputs(_("     --source <src>      explicitly specifies source (path, label, uuid)\n"), out);
        fputs(_("     --target <target>   explicitly specifies mountpoint\n"), out);