select-output-line: fix erroneous exit
grep-gtags: allow reversing type matching
...

Signed-off-by: Bao Haojun <baohaojun@gmail.com>