Mercurial > hg > TextShaper
diff textshaper/main.py @ 36:55e0579e2143
STUB: textshaper/main.py textshaper/whitespace.py
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sat, 03 May 2014 14:47:16 -0700 |
parents | 88a69d587326 |
children | 8cf9a26b9aaa |
line wrap: on
line diff
--- a/textshaper/main.py Thu Mar 13 13:53:41 2014 -0700 +++ b/textshaper/main.py Sat May 03 14:47:16 2014 -0700 @@ -12,6 +12,7 @@ import time from .commands import Commands from .indent import deindent, indent +from .whitespace import underscore from which import which HR = '--' @@ -39,8 +40,10 @@ commands = Commands() commands.add(indent, 'i') commands.add(deindent, 'd') + commands.add(underscore, 'u') return commands + def add_options(parser): """add options to the parser instance"""