Skip to content

Commit

Permalink
Strip commands before lexing
Browse files Browse the repository at this point in the history
  • Loading branch information
prophile committed Mar 6, 2013
1 parent 3ce04d5 commit 03ea26a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class CommandError(Exception):
pass

def parse(cmd):
parts = shlex.split(cmd)
parts = shlex.split(cmd.strip())
try:
options = docopt(__doc__, argv = parts,
help = False, version = None)
Expand Down

0 comments on commit 03ea26a

Please sign in to comment.