src: a buggy query program (optparse not working)