diff options
author | Andy Grover <agrover@redhat.com> | 2011-12-02 10:07:22 -0800 |
---|---|---|
committer | Andy Grover <agrover@redhat.com> | 2011-12-05 14:07:06 -0800 |
commit | 06580a71029244d243bc4f9709d7d7353fce16e3 (patch) | |
tree | daed71e8dfd525601025113186ae353fea40d366 /configshell | |
parent | 672a80e253a67439168fef411804d9459ae086e0 (diff) | |
download | configshell-fb-06580a71029244d243bc4f9709d7d7353fce16e3.tar.gz |
Fix helptext - shell may not be interactive
If invoked with run_cmdline instead of run_interactive, the shell may not
be interactive, in which case the helptext would be misleading.
Signed-off-by: Andy Grover <agrover@redhat.com>
Diffstat (limited to 'configshell')
-rw-r--r-- | configshell/node.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configshell/node.py b/configshell/node.py index 9f6295e..282800f 100644 --- a/configshell/node.py +++ b/configshell/node.py @@ -40,8 +40,8 @@ class ConfigNode(object): help_intro = ''' GENERALITIES ============ - This is an interactive shell in which you can create, delete - and configure configuration objects. + This is a shell in which you can create, delete and configure + configuration objects. The available commands depend on the current path or target path you want to run a command in: different path have |