--bind-device does not take a bool

See e95be7def2/src/mount/mount-tool.c (L164) 
Also makes the man page consistent with the `--help` option
This commit is contained in:
Oliver Harley 2019-05-26 07:31:29 +02:00 committed by Yu Watanabe
parent cf36eb9cfe
commit 2fc1afca59

View file

@ -211,11 +211,11 @@
</varlistentry>
<varlistentry>
<term><option>--bind-device=</option></term>
<term><option>--bind-device</option></term>
<listitem><para>Takes a boolean argument, defaults to off. This option only has an effect in automount mode,
and controls whether the automount unit shall be bound to the backing device's lifetime. If enabled, the
automount point will be removed automatically when the backing device vanishes. If disabled the automount point
<listitem><para>This option only has an effect in automount mode,
and controls whether the automount unit shall be bound to the backing device's lifetime. If set, the
automount point will be removed automatically when the backing device vanishes. By default the automount point
stays around, and subsequent accesses will block until backing device is replugged. This option has no effect
in case of non-device mounts, such as network or virtual file system mounts.</para>