pazz/alot — Issue #283: regression: CLI argparse flag parsing broken for search subcommand
Author: pazz
Created: 2012-01-24 09:00:36+00:00
State: open
Labels: bug, important

```
pazz@brick:~$ alot search is:inbox and is:unread and not tag:killed
Traceback (most recent call last):
File "/home/pazz/.local/bin/alot", line 20, in
main()
File "/home/pazz/.local/lib/python2.7/site-packages/alot/init.py", line 168, in main
cmdstring = 'search %s %s' % (args.subOptions.as_argparse_opts(),
File "/home/pazz/.local/lib/python2.7/site-packages/alot/init.py", line 27, in as_argparse_opts
if k in [a[0] for a in self.optFlags]: # if flag
AttributeError: 'SearchOptions' object has no attribute 'optFlags'

```