summaryrefslogtreecommitdiffstats
path: root/sys-utils/mount.c
diff options
context:
space:
mode:
authorVaclav Dolezal2018-02-08 15:46:33 +0100
committerVaclav Dolezal2018-02-08 15:46:33 +0100
commit7238285bf2c6d73a0425791539a9bb668592f7f1 (patch)
treea5b9094527e5c9d00f7cfc66013c9726c5b8c321 /sys-utils/mount.c
parentmount: added options exposing libmount's optsmode (diff)
downloadkernel-qcow2-util-linux-7238285bf2c6d73a0425791539a9bb668592f7f1.tar.gz
kernel-qcow2-util-linux-7238285bf2c6d73a0425791539a9bb668592f7f1.tar.xz
kernel-qcow2-util-linux-7238285bf2c6d73a0425791539a9bb668592f7f1.zip
mount: document --options-* in man/help
Signed-off-by: Vaclav Dolezal <vdolezal@redhat.com>
Diffstat (limited to 'sys-utils/mount.c')
-rw-r--r--sys-utils/mount.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-utils/mount.c b/sys-utils/mount.c
index 7707402f2..4ac14b8ab 100644
--- a/sys-utils/mount.c
+++ b/sys-utils/mount.c
@@ -413,6 +413,13 @@ static void __attribute__((__noreturn__)) usage(void)
fprintf(out, _(
" -n, --no-mtab don't write to /etc/mtab\n"));
fprintf(out, _(
+ " --options-mode <mode>\n"
+ " what to do with options loaded from fstab\n"
+ " --options-source <source>\n"
+ " mount options source\n"
+ " --options-source-force\n"
+ " force use of options from fstab/mtab\n"));
+ fprintf(out, _(
" -o, --options <list> comma-separated list of mount options\n"
" -O, --test-opts <list> limit the set of filesystems (use with -a)\n"
" -r, --read-only mount the filesystem read-only (same as -o ro)\n"