From 7b7f86e5d4aa15fb78aeea9b16ce164ad3b8818a Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 7 Aug 2010 14:30:42 -0400 Subject: [PATCH] Updated 'Configuring Hooke' section of tutorial.txt --- doc/tutorial.txt | 11 +++++------ hooke/plugin/config.py | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) 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__( -- 2.26.2