[PATCH] losetup: restore -f/loopdev alternative

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-f and loopdev are exclusive; the old man page made this explicit, but
this was lost in the Asciidoc transition in commit 6d5b69483a58
("Asciidoc: Import sys-utils man pages, part 1").

This patch restores the lost pipe, so that the disjunction is
explicit:

        losetup ... [--show] -f|loopdev file
                               ^

Signed-off-by: Stephen Kitt <steve@xxxxxxx>
---
 sys-utils/losetup.8.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-utils/losetup.8.adoc b/sys-utils/losetup.8.adoc
index 2a2577f0d..52df95bd6 100644
--- a/sys-utils/losetup.8.adoc
+++ b/sys-utils/losetup.8.adoc
@@ -30,7 +30,7 @@ Detach all associated loop devices:
 
 Set up a loop device:
 
-*losetup* [*-o* _offset_] [*--sizelimit* _size_] [*--sector-size* _size_] [*-Pr*] [*--show*] *-f* _loopdev file_
+*losetup* [*-o* _offset_] [*--sizelimit* _size_] [*--sector-size* _size_] [*-Pr*] [*--show*] *-f*|_loopdev file_
 
 Resize a loop device:
 

base-commit: 22abf6df385b524acd78542fd8a3452ee1492002
-- 
2.30.2




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux