From 35f8bc9cf81191007bd758eceb7f7210599fee9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Tue, 11 Jul 2023 12:53:19 +0200 Subject: [PATCH] Move documentation to separate files Prepare it to look like manual page. Allow generating decent manual pages from them by asciidoctor, while also having it in similar way inside README.adoc --- src/tools/README.adoc | 261 +------------------------------ src/tools/getdns_query.adoc | 114 ++++++++++++++ src/tools/getdns_server_mon.adoc | 163 +++++++++++++++++++ 3 files changed, 281 insertions(+), 257 deletions(-) create mode 100644 src/tools/getdns_query.adoc create mode 100644 src/tools/getdns_server_mon.adoc diff --git a/src/tools/README.adoc b/src/tools/README.adoc index 2f2389eb..ff740878 100644 --- a/src/tools/README.adoc +++ b/src/tools/README.adoc @@ -2,262 +2,9 @@ This directory contains some tools based on `getdns`. -* `getdns_query` - a command line wrapper for `getdns`. -* `getdns_server_mon` - test DNS server function and capabilities. +* <<_getdns_query1>> - a command line wrapper for `getdns`. +* <<_getdns_server_mon1>> - test DNS server function and capabilities. -== `getdns_query` +include::getdns_query.adoc[leveloffset=+1] +include::getdns_server_mon.adoc[leveloffset=+1] -`getdns_query` is a command line wrapper for `getdns` exposing the -features of this implementation (both in the official API and the -additional API functions). - -=== Usage - ----- -usage: getdns_query [