diff options
| author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-03-16 21:46:58 -0400 |
|---|---|---|
| committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-03-16 21:46:58 -0400 |
| commit | f68023a219e4e5b0997e28d7cc4f46eb05011665 (patch) | |
| tree | 25d17628c77cb1e06deb82589be362959e4b2257 | |
| parent | 0d592167fc74d7bc65ae4a0b58798b7f0ee396a8 (diff) | |
| download | cmd2-git-f68023a219e4e5b0997e28d7cc4f46eb05011665.tar.gz | |
Making parseline a bit closer to the orignal cmd version
| -rwxr-xr-x | cmd2.py | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -1582,11 +1582,6 @@ class Cmd(cmd.Cmd): i += 1 command, arg = line[:i], line[i:].strip() - # Make sure there is a space between the command and args - # This can occur when a character not in self.identchars bumps against the command (ex: help@) - if len(command) > 0 and len(arg) > 0 and line[len(command)] != ' ': - line = line.replace(command, command + ' ', 1) - return command, arg, line def onecmd_plus_hooks(self, line): |
