]> rtime.felk.cvut.cz Git - notmuch.git/commit
nmbug: Add a 'help' command for folks who don't like --help
authorW. Trevor King <wking@tremily.us>
Fri, 3 Oct 2014 18:20:58 +0000 (11:20 -0700)
committerDavid Bremner <david@tethera.net>
Sun, 18 Jan 2015 10:00:51 +0000 (11:00 +0100)
commit9d25c97d8b4464e65f8bd6705db47603c94af275
tree3f349816e3a60d5f687debacfba6c602864af1fd
parent62bc1d47174275431f705ca9c2bc2c7b41817d7a
nmbug: Add a 'help' command for folks who don't like --help

The 'if args.func == help' block at the end avoids:

    AttributeError: 'functools.partial' object has no attribute '__code__'
devel/nmbug/nmbug