diff options
| author | Mark Lalor <markwlalor@gmail.com> | 2018-03-17 12:14:04 -0400 |
|---|---|---|
| committer | Mark Lalor <markwlalor@gmail.com> | 2018-03-17 12:14:04 -0400 |
| commit | 1fd482f9abd56750186f10fe0a018d7c04a33807 (patch) | |
| tree | 6b3b5ae712c64dc9179f8d34541cbf6320fd7841 /docs | |
| parent | 536accac51896b8390ce34ef7b1b8617e7fce278 (diff) | |
| download | cmd2-git-1fd482f9abd56750186f10fe0a018d7c04a33807.tar.gz | |
Fixed small typos and changed example code class name
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/freefeatures.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/freefeatures.rst b/docs/freefeatures.rst index a27ee453..740ea067 100644 --- a/docs/freefeatures.rst +++ b/docs/freefeatures.rst @@ -55,11 +55,11 @@ be pointless within an interactive session. Startup Initialization Script ============================= You can load and execute commands from a startup initialization script by passing a file path to the ``startup_script`` -argument to the ``cmd.Cmd.__init__()`` method like so:: +argument to the ``cmd2.Cmd.__init__()`` method like so:: - class AliasAndStartup(cmd2.Cmd): - def __init__(self): - cmd2.Cmd.__init__(self, startup_script='.cmd2rc') + class StartupApp(cmd2.Cmd): + def __init__(self): + cmd2.Cmd.__init__(self, startup_script='.cmd2rc') See the AliasStartup_ example for a demonstration. |
