mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-24 15:12:47 +00:00
43 lines
979 B
Plaintext
43 lines
979 B
Plaintext
|
## linkbtrfs: macro
|
||
|
#
|
||
|
# Usage: linkbtrfs:command[manpage-section]
|
||
|
#
|
||
|
# Note, {0} is the manpage section, while {target} is the command.
|
||
|
#
|
||
|
# Show Btrfslink as: <command>(<section>); if section is defined, else just show
|
||
|
# the command.
|
||
|
|
||
|
[macros]
|
||
|
(?su)[\\]?(?P<name>linkbtrfs):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=
|
||
|
|
||
|
[attributes]
|
||
|
asterisk=*
|
||
|
plus=+
|
||
|
caret=^
|
||
|
startsb=[
|
||
|
endsb=]
|
||
|
backslash=\
|
||
|
tilde=~
|
||
|
apostrophe='
|
||
|
backtick=`
|
||
|
litdd=--
|
||
|
|
||
|
ifdef::doctype-manpage[]
|
||
|
ifdef::backend-docbook[]
|
||
|
[header]
|
||
|
template::[header-declarations]
|
||
|
<refentry>
|
||
|
<refmeta>
|
||
|
<refentrytitle>{mantitle}</refentrytitle>
|
||
|
<manvolnum>{manvolnum}</manvolnum>
|
||
|
<refmiscinfo class="source">Btrfs</refmiscinfo>
|
||
|
<refmiscinfo class="version">{btrfs_version}</refmiscinfo>
|
||
|
<refmiscinfo class="manual">Btrfs Manual</refmiscinfo>
|
||
|
</refmeta>
|
||
|
<refnamediv>
|
||
|
<refname>{manname}</refname>
|
||
|
<refpurpose>{manpurpose}</refpurpose>
|
||
|
</refnamediv>
|
||
|
endif::backend-docbook[]
|
||
|
endif::doctype-manpage[]
|