From 761e47d5a2c2c98d93b37976f196380201235c0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Such=C3=A1nek?= Date: Wed, 12 Jul 2017 10:53:57 +0200 Subject: [PATCH] Docs for new check-config command --- docs/usage/commands.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/usage/commands.rst b/docs/usage/commands.rst index 69e8246..989fc77 100644 --- a/docs/usage/commands.rst +++ b/docs/usage/commands.rst @@ -30,6 +30,25 @@ For more information: $ repocribro assign-role --help +check-config +------------ + +Commands for checking configuration currently used by repocribro. +There are two styles for printing, same syntax as is in the cfg file +(default) or just triples section key value. + +:: + + $ repocribro -c my_cfg1.cfg -c my_cfg2.cfg check-config + [flask] + secret_key = MySecretKey + ... + + $ repocribro check-config --style triple + flask secret_key MySecretKey + ... + + db (database) -------------