From: Phil Sutter Subject: [nft PATCH 1/2] nft.8: Fix and enhance synopsis section Date: Thu, 17 Aug 2017 15:38:59 +0200 Message-ID: <20170817133900.21946-2-phil@nwl.cc> References: <20170817133900.21946-1-phil@nwl.cc> Cc: netfilter-devel@vger.kernel.org To: Pablo Neira Ayuso Return-path: Received: from orbyte.nwl.cc ([151.80.46.58]:39055 "EHLO mail.nwl.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751637AbdHQNjT (ORCPT ); Thu, 17 Aug 2017 09:39:19 -0400 In-Reply-To: <20170817133900.21946-1-phil@nwl.cc> Sender: netfilter-devel-owner@vger.kernel.org List-ID: 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 --- doc/nft.xml | 74 +++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 50 insertions(+), 24 deletions(-) diff --git a/doc/nft.xml b/doc/nft.xml index d7aae3f03b8c1..191a4c12f8487 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. -- 2.13.1