diff options
| author | Jani Nikula <jani@nikula.org> | 2015-03-08 18:18:54 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2015-03-11 08:07:41 +0100 |
| commit | c17e4fe62988edfe99af804c3d6321353d755e7f (patch) | |
| tree | 80a83e7b0d94eeaaee57bd3c6c1471537d5f5de8 /bindings/python/debian | |
| parent | c883e632bf0a3692fa4ca7aa77604e0e60820295 (diff) | |
cli: fix top level --help combined with other options
If the top level --help is combined with other options, help
fails. For example:
$ notmuch --version --help
Sorry, --help is not a known command. There's not much I can do to help.
Fix this by adjusting argc and argv appropriately. The help command
ignores argv[0] anyway, so we don't have to set it to "help".
Diffstat (limited to 'bindings/python/debian')
0 files changed, 0 insertions, 0 deletions
