From b4953803f26c442cdec4cad78a8261e9b97cd015 Mon Sep 17 00:00:00 2001 From: "Pablo M. Bermudo Garay" Date: Fri, 23 Jun 2017 18:38:25 +0200 Subject: src: add --check option flag Sometimes it can be useful to test if a command is valid without applying any change to the rule-set. This commit adds a new option flag (-c | --check) that performs a dry run execution of the commands. Signed-off-by: Pablo M. Bermudo Garay Signed-off-by: Pablo Neira Ayuso --- doc/nft.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc') diff --git a/doc/nft.xml b/doc/nft.xml index e9ccd63c..970acb54 100644 --- a/doc/nft.xml +++ b/doc/nft.xml @@ -51,6 +51,9 @@ vi:ts=4 sw=4 + + + directory @@ -129,6 +132,14 @@ vi:ts=4 sw=4 + + + + + Check commands validity without actually applying the changes. + + + -- cgit v1.2.3