summaryrefslogtreecommitdiffhomepage
path: root/include/usage.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-02-16 23:28:42 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-02-16 23:28:42 +0000
commitb1d8e7db0fced98ba2cd049019f8820fd91a0482 (patch)
treef57502cb47f3036e742e34609a3f485197b3fd73 /include/usage.h
parent25591c322c9305bd54d3ab80cfaf01ef87640d77 (diff)
mount: make -f work even without mtab support
(Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com>)
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h
index 59e57f3a0..04ef1822e 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2449,8 +2449,10 @@ USE_FEATURE_BRCTL_FANCY("\n" \
"Mount a filesystem. Filesystem autodetection requires /proc be mounted." \
"\n\nOptions:\n" \
" -a Mount all filesystems in fstab\n" \
+ USE_FEATURE_MOUNT_FAKE( \
+ " -f "USE_FEATURE_MTAB_SUPPORT("Update /etc/mtab, but ")"don't mount\n" \
+ ) \
USE_FEATURE_MTAB_SUPPORT( \
- " -f Update /etc/mtab, but don't mount\n" \
" -n Don't update /etc/mtab\n" \
) \
" -r Read-only mount\n" \