# HG changeset patch # User Jeff Hammel # Date 1355770823 28800 # Node ID b4f3939eeb384ca6aba44f3dbbe4d2456e74737f # Parent 678b82fedb40dc43ff95ab466aa633365371936d notes to self diff -r 678b82fedb40 -r b4f3939eeb38 bzconsole/command.py --- a/bzconsole/command.py Sun Dec 16 20:22:30 2012 -0800 +++ b/bzconsole/command.py Mon Dec 17 11:00:23 2012 -0800 @@ -2,6 +2,8 @@ a command-line interface to the command line, a la pythonpaste """ +# TODO: move to http://k0s.org/hg/CommandParser/ + import inspect import json import os @@ -238,5 +240,5 @@ if value is not None: help += ' [DEFAULT: %s]' % value parser.add_option('--%s' % key, help=help, default=value) - + return parser