]> git.deb.at Git - pkg/abook.git/commit
command-line containing --outformat is less-error prone.
authorRaphaël Droz <raphael.droz+floss@gmail.com>
Mon, 3 Dec 2012 13:28:58 +0000 (14:28 +0100)
committerRaphaël Droz <raphael.droz+floss@gmail.com>
Mon, 3 Dec 2012 13:55:56 +0000 (14:55 +0100)
commit370d475165c2dd25ba2e7dd6553f00f8064ac352
tree3fba5476c9d28d134a38be66abc17750bf6b6f94
parent6e4a7610dcb671089f011061603a6bc7c604881d
command-line containing --outformat is less-error prone.

Since --convert isn't mandatory anymore for --outformat to be used
(what was conflicting with --mutt-query), we removed the call to
set_convert_var() in 141acfcc.

We now need to test that one of MODE_CONVERT and MODE_QUERY is 'on'
before allowing the use of --outformat.
$ abook --outformat anyformat < file # won't hang anymore
abook.c