diff options
author | Denis Vlasenko | 2008-02-16 23:28:42 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-02-16 23:28:42 +0000 |
commit | b1d8e7db0fced98ba2cd049019f8820fd91a0482 (patch) | |
tree | f57502cb47f3036e742e34609a3f485197b3fd73 /include/usage.h | |
parent | 25591c322c9305bd54d3ab80cfaf01ef87640d77 (diff) | |
download | busybox-b1d8e7db0fced98ba2cd049019f8820fd91a0482.zip busybox-b1d8e7db0fced98ba2cd049019f8820fd91a0482.tar.gz |
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.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h index 59e57f3..04ef182 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" \ |