From c12759edf7c20cb923b8e3f359413bc9e59b8e11 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 17 Aug 2017 15:38:59 +0200 Subject: doc: nft: Fix and enhance synopsis section This patch addresses shortcomings in the main synopsis section illustrating possible invocations of nft command: - Fix font styles to correctly put options into bold font and meta characters (brackets, pipes) into normal font. - Add missing options to synopsis line. - Use curly braces where either one of the alternatives is required. - Remove choice="opt" attribute since that is the default anyway. - Note that --includepath option is allowed to be given multiple times. Signed-off-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- doc/nft.xml | 74 +++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 50 insertions(+), 24 deletions(-) diff --git a/doc/nft.xml b/doc/nft.xml index cf933489..9d97a782 100644 --- a/doc/nft.xml +++ b/doc/nft.xml @@ -45,40 +45,66 @@ vi:ts=4 sw=4 nft - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + directory - - + + + + + filename - - + + + + + - + cmd nft - - - - - - + + + + + + + + @@ -141,7 +167,7 @@ vi:ts=4 sw=4 - + Translate IP addresses to names. Usually requires network traffic for DNS lookup. @@ -170,7 +196,7 @@ vi:ts=4 sw=4 - Add the directory directory to the list of directories to be searched for included files. + Add the directory directory to the list of directories to be searched for included files. This option may be specified multiple times. -- cgit v1.2.3