From: W. Trevor King Date: Sat, 7 Aug 2010 18:30:42 +0000 (-0400) Subject: Updated 'Configuring Hooke' section of tutorial.txt X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=15966e24f41616aeb474a869c1aaa4e80014af3f;p=hooke.git Updated 'Configuring Hooke' section of tutorial.txt --- diff --git a/doc/tutorial.txt b/doc/tutorial.txt index 58cb57f..f4746b8 100644 --- a/doc/tutorial.txt +++ b/doc/tutorial.txt @@ -307,9 +307,8 @@ directory. Configuring Hooke ----------------- -You can set environment variables to influence the behaviour of -Hooke. The command to use is ``set_config``. - -You can alter permanently the behaviour of Hooke by setting these -variables in a Hooke configuration file. See :doc:`config` for -details. +You can set environment variables to influence the behaviour of +Hooke. The command to use is ``set_config``. Use ``get_config`` to +read a particular option and ``print_config`` to display the entire +configuration file. Any changes to the configuration will be saved +when you exit Hooke, see :doc:`config` for details. diff --git a/hooke/plugin/config.py b/hooke/plugin/config.py index b0bcf3b..aa689a9 100644 --- a/hooke/plugin/config.py +++ b/hooke/plugin/config.py @@ -95,7 +95,7 @@ class SetCommand (Command): outqueue.put(ReloadUserInterfaceConfig(hooke.config)) class PrintCommand (Command): - """Get the current value of a configuration option. + """Get the current value of all configuration options. """ def __init__(self, plugin): super(PrintCommand, self).__init__(