From c16a377102234ecf82e00273e4faf4371fe0e8bd Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 5 Oct 2015 12:40:12 +0100 Subject: [PATCH] Update manpage. --- doc/rspamadm.1 | 16 ++++++++++++++++ doc/rspamadm.1.md | 8 ++++++++ 2 files changed, 24 insertions(+) diff --git a/doc/rspamadm.1 b/doc/rspamadm.1 index 0c7bbaeec..22bcf4d91 100644 --- a/doc/rspamadm.1 +++ b/doc/rspamadm.1 @@ -100,6 +100,22 @@ rspamadm\ \-\-var=DBDIR=/tmp\ configtest\ \-c\ ./rspamd.conf\ \-s \f[] .fi .PP +Dump the processed configuration: +.IP +.nf +\f[C] +rspamadm\ configdump +\f[] +.fi +.PP +Dump the processed configuration as JSON string: +.IP +.nf +\f[C] +rspamadm\ configdump\ \-j +\f[] +.fi +.PP Generate a keypair to use for HTTPCrypt encryption: .IP .nf diff --git a/doc/rspamadm.1.md b/doc/rspamadm.1.md index 97c5d5146..17bfa94c3 100644 --- a/doc/rspamadm.1.md +++ b/doc/rspamadm.1.md @@ -69,6 +69,14 @@ Test configuration strictly and redefine some ucl vars: rspamadm --var=DBDIR=/tmp configtest -c ./rspamd.conf -s +Dump the processed configuration: + + rspamadm configdump + +Dump the processed configuration as JSON string: + + rspamadm configdump -j + Generate a keypair to use for HTTPCrypt encryption: rspamadm keypair -- 2.39.5