cmdline interface, stop-on-error
new query result format, more cmdline work