Commit graph

8 commits

Author SHA1 Message Date
Mario Blättermann
2b2d317242 man pages: unify output of --help and --version 2022-02-01 20:49:24 +01:00
Paul Sarena
3819419ed9
Escape ((…)) in AsciiDoc to fix broken example
In AsciiDoc, double parentheses are used to mark flow index terms, but in this document, their use is intended to be interpreted by the shell's arithmetic expansion.  By escaping them with a backslash in the AsciiDoc, they pass through as-is to the manpage and other targets.

So, instead of a rendered result of `dd if=~/wipefs-sdb-0x00000438.bak of=/dev/sdb seek=$0x00000438 bs=1 conv=notrunc`, we get `dd if=~/wipefs-sdb-0x00000438.bak of=/dev/sdb seek=$((0x00000438)) bs=1 conv=notrunc`.  

Seperately, when interpreted by a shell's arithmetic expansion, the 0x00000438 hex is converted to decimal 1080 `dd if=~/wipefs-sdb-0x00000438.bak of=/dev/sdb seek=1080 bs=1 conv=notrunc`
2021-11-26 15:34:02 -08:00
Mario Blättermann
e674323904 Man pages: Fix end extend formatting 2021-09-21 20:48:11 +02:00
Karel Zak
625e9c61e8 build-sys: make man pages location independent
We need to evaluate "include::" directive relatively to project
top-level source directory rather than to the current document
location.

Signed-off-by: Karel Zak <kzak@redhat.com>
2021-03-31 11:50:47 +02:00
Mario Blättermann
2c646c80d8 Asciidoc: Review misc-utils man pages 2021-03-23 20:07:15 +01:00
Mario Blättermann
295b3979d9 Asciidoc: Add Po4a hint to file headers 2021-03-20 16:42:47 +01:00
Mario Blättermann
d315cc4d96 Asciidoc: Re-add empty lines to man pages 2021-03-19 20:52:00 +01:00
Mario Blättermann
6c64d12d13 Asciidoc: Import misc-utils man pages 2021-03-19 17:12:57 +01:00