diff options
author | kotfu <kotfu@kotfu.net> | 2018-04-29 15:29:54 -0600 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2018-04-29 15:29:54 -0600 |
commit | 7b2d8a23b978f408cc1fe949e23c0aae97ed54a3 (patch) | |
tree | 2fce238aa94ee0a63dac1a872ea188066e50717d /README.md | |
parent | 00093dd2cff5b0532c9c6154b396acf49043df66 (diff) | |
download | cmd2-git-7b2d8a23b978f408cc1fe949e23c0aae97ed54a3.tar.gz |
multilineCommands -> multiline_commands
Diffstat (limited to 'README.md')
-rwxr-xr-x | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |