diff -r 2a2d0d5df03b -r fda45bdfd68d pgtool --- a/pgtool Tue May 06 18:37:43 2014 +0200 +++ b/pgtool Wed May 07 18:33:50 2014 +0200 @@ -3,7 +3,8 @@ """ Wrapper script for pgtoolkit tools. -Usage: +Usage +----- pgtool --list List all available tools. @@ -17,6 +18,24 @@ pgtool schemadiff --help Get help for tool parameters. +Configuration +------------- + +Global pgtoolkit configuration: + /etc/pgtoolkit.conf + +Local configuration: + ./pgtoolkit.conf + +Additional config file can be loaded using -c parameter (after tool name). + +Configuration from all present files is loaded in above order, +later value overrides previous value. Resulting config file priority is: + + 1) parameter + 2) local + 3) global + """ import pgtoolkit.tools