Let's document the `nft export [xml|json]' command. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@xxxxxxxxx> --- doc/nft.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc/nft.xml b/doc/nft.xml index 1de4b3f..61ca03a 100644 --- a/doc/nft.xml +++ b/doc/nft.xml @@ -2080,6 +2080,28 @@ filter input iif eth0 drop </refsect1> <refsect1> + <title>Additional commands</title> + <para> + These are some additional commands included in nft. + </para> + <refsect2> + <title>export</title> + <para> + Export your current ruleset in XML or JSON format to stdout. + </para> + <para> + Examples: + <programlisting> +% nft export xml +[...] +% nft export json +[...] + </programlisting> + </para> + </refsect2> + </refsect1> + + <refsect1> <title>Error reporting</title> <para> When an error is detected, nft shows the line(s) containing the error, the position -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html