]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mount-tool: fix confusion in --help
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 9 Dec 2025 12:46:48 +0000 (13:46 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 27 Feb 2026 20:05:57 +0000 (20:05 +0000)
See grandparent commit for explanation.

(cherry picked from commit e4c6ee2ce546ce772548bf728b6c235bd997e5c2)
(cherry picked from commit 49346516b6ff3633205e0b4543f05cbb90c68e89)
(cherry picked from commit 2a2d1c10190186657adbbf9d630cdda90da8d969)

src/mount/mount-tool.c

index 5f9cf44b5df76e43b4ab65b7bf4ea2d4adf47af9..d362955b81cbd82cd5977c68f8605d0428795502 100644 (file)
@@ -140,7 +140,8 @@ static int help(void) {
                "     --fsck=no                    Don't run file system check before mount\n"
                "     --description=TEXT           Description for unit\n"
                "  -p --property=NAME=VALUE        Set mount unit property\n"
-               "  -A --automount=BOOL             Create an auto-mount point\n"
+               "     --automount=BOOL             Create an automount point\n"
+               "  -A                              Same as --automount=yes\n"
                "     --timeout-idle-sec=SEC       Specify automount idle timeout\n"
                "     --automount-property=NAME=VALUE\n"
                "                                  Set automount unit property\n"