summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2017-01-23 22:00:05 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2017-01-23 22:00:05 -0500
commitbc57f016e603ec9e92c8a15d366e76d07d7dd762 (patch)
treefa175a4ad4c339c7f7a313a8076bf08c96568e3b
parenta51fa9005270e506a785e878f945952a135026ac (diff)
downloadcmd2-git-bc57f016e603ec9e92c8a15d366e76d07d7dd762.tar.gz
Changed header comment in cmd2.py to refer to GitHub repo instead of old assembla mercurial one. Also changed exampleSession.txt example transcript to not include the "set" command since the output was platform dependent due to the default editor varying.
-rwxr-xr-xREADME.rst20
-rwxr-xr-xcmd2.py2
-rw-r--r--example/exampleSession.txt18
3 files changed, 4 insertions, 36 deletions
diff --git a/README.rst b/README.rst
index 0bebbb3a..dd2adea4 100755
--- a/README.rst
+++ b/README.rst
@@ -82,7 +82,7 @@ Instructions for implementing each feature follow.
cmd2 can be installed from a Linux distribution using their default package manager or `pip install cmd2`
-Cheese Shop page: http://pypi.python.org/pypi/cmd2
+PyPI page: http://pypi.python.org/pypi/cmd2
A nice step-by-step tutorial: https://kushaldas.in/posts/developing-command-line-interpreters-using-python-cmd2.html
@@ -164,20 +164,6 @@ example/exampleSession.txt::
OODNIGHT, GRACIEGAY
OODNIGHT, GRACIEGAY
OODNIGHT, GRACIEGAY
- (Cmd) set
- abbrev: True
- case_insensitive: True
- colors: True
- continuation_prompt: >
- debug: False
- default_file_name: command.txt
- echo: False
- editor: gedit
- feedback_to_output: False
- maxrepeats: 3
- prompt: (Cmd)
- quiet: False
- timing: False
(Cmd) set maxrepeats 5
maxrepeats - was: 3
now: 5
@@ -197,10 +183,8 @@ example/exampleSession.txt::
-------------------------[4]
say -ps --repeat=5 goodnight, Gracie
-------------------------[5]
- set
- -------------------------[6]
set maxrepeats 5
- -------------------------[7]
+ -------------------------[6]
say -ps --repeat=5 goodnight, Gracie
(Cmd) run 4
say -ps --repeat=5 goodnight, Gracie
diff --git a/cmd2.py b/cmd2.py
index e678de16..08fab0bd 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -22,7 +22,7 @@ written to use `self.stdout.write()`,
- Catherine Devlin, Jan 03 2008 - catherinedevlin.blogspot.com
-mercurial repository at http://www.assembla.com/wiki/show/python-cmd2
+Git repository on GitHub at https://github.com/python-cmd2/cmd2
"""
import cmd
import copy
diff --git a/example/exampleSession.txt b/example/exampleSession.txt
index d1dcb544..945ea0bc 100644
--- a/example/exampleSession.txt
+++ b/example/exampleSession.txt
@@ -27,20 +27,6 @@ goodnight, Gracie
OODNIGHT, GRACIEGAY
OODNIGHT, GRACIEGAY
OODNIGHT, GRACIEGAY
-(Cmd) set
-abbrev: True
-case_insensitive: True
-colors: True
-continuation_prompt: >
-debug: False
-default_file_name: command.txt
-echo: False
-editor: gedit
-feedback_to_output: False
-maxrepeats: 3
-prompt: (Cmd)
-quiet: False
-timing: False
(Cmd) set maxrepeats 5
maxrepeats - was: 3
now: 5
@@ -60,10 +46,8 @@ say goodnight, Gracie
-------------------------[4]
say -ps --repeat=5 goodnight, Gracie
-------------------------[5]
-set
--------------------------[6]
set maxrepeats 5
--------------------------[7]
+-------------------------[6]
say -ps --repeat=5 goodnight, Gracie
(Cmd) run 4
say -ps --repeat=5 goodnight, Gracie