looks like you didnt see the changes at main.c
"
else if (strcmp (argv[1], "query") == 0)
    ret = bq_main (argc, argv);
"