summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-04-29 15:29:54 -0600
committerkotfu <kotfu@kotfu.net>2018-04-29 15:29:54 -0600
commit7b2d8a23b978f408cc1fe949e23c0aae97ed54a3 (patch)
tree2fce238aa94ee0a63dac1a872ea188066e50717d /README.md
parent00093dd2cff5b0532c9c6154b396acf49043df66 (diff)
downloadcmd2-git-7b2d8a23b978f408cc1fe949e23c0aae97ed54a3.tar.gz
multilineCommands -> multiline_commands
Diffstat (limited to 'README.md')
-rwxr-xr-xREADME.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index f456694c..beca7581 100755
--- a/README.md
+++ b/README.md
@@ -91,7 +91,7 @@ Instructions for implementing each feature follow.
- Multi-line commands
- Any command accepts multi-line input when its name is listed in `Cmd.multilineCommands`.
+ Any command accepts multi-line input when its name is listed in `Cmd.multiline_commands`.
The program will keep expecting input until a line ends with any of the characters
in `Cmd.terminators` . The default terminators are `;` and `/n` (empty newline).
@@ -165,7 +165,7 @@ class CmdLineApp(cmd2.Cmd):
MUMBLE_LAST = ['right?']
def __init__(self):
- self.multilineCommands = ['orate']
+ self.multiline_commands = ['orate']
self.maxrepeats = 3
# Add stuff to settable and shortcuts before calling base class initializer