diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-02-12 18:00:28 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-02-12 18:00:28 -0500 |
commit | c8549139d3061a12d8583b844d8c7d7a235d980a (patch) | |
tree | 92ba049a9354be95f8e2e60391ebae146b8eb515 /cmd2.py | |
parent | 9450c289961081c0b8fdb3fc702787727c856a5b (diff) | |
download | cmd2-git-c8549139d3061a12d8583b844d8c7d7a235d980a.tar.gz |
Documentation updates
Sphinx documenation updates, including:
- Extensively re-wrote the "alternatives to cmd2" section as it was many years out of date
- Reworded a few humorous sections in an attempt to be more professional
- Removed reference to command synonyms/aliases which no longer exist
- Added more detail in a couple places
- Minor rewording and bugfixes throughout
Also added a note to cmd2.py about the expected values for doctest only working for Python 2.7.
Diffstat (limited to 'cmd2.py')
-rwxr-xr-x | cmd2.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,3 +1,4 @@ +#!/usr/bin/env python # coding=utf-8 """Variant on standard library's cmd with extra features. @@ -1956,6 +1957,8 @@ class Cmd2TestCase(unittest.TestCase): if __name__ == '__main__': doctest.testmod(optionflags=doctest.NORMALIZE_WHITESPACE) + # NOTE: The doctest expected values work with Python 2.7, but are a bit off for Python 3.x. + ''' To make your application transcript-testable, replace |