      ("trace-parsing,p", "trace parsing")
      ("trace-scanning,s", "trace scanning")
      ("use-serializer,r", "use serializer")
      ("optimizer,O", po::value<int> ()->default_value (1), "optimization level (0, 1 or 2 - 1 is default)")
      ("result-file,o", po::value<std::string>(), "result file")
      ("debug-file", po::value<std::string>(), "log file for debugging information")
      ("abort", "abort when fatal error happens")
      ("query,e", po::value<std::string>(), "execute inline query")
      ("print-query,q", "print the query")
      ("print-time,t", "print the execution time")
      ("print-ast,a", "print the parse tree")
      ("print-xqdoc", "create output for XQDoc" )
      ("print-translated", "print the normalized expression tree")
      ("print-normalized,n", "print the translated expression tree")
      ("print-optimized,P", "print the optimized expression tree")
      ("print-iterator-tree,i", "print the iterator tree")
      ("print-item-flow,f", "show items produced by all iterators")
      ("print-static-types", po::value<bool> ()->default_value (true), "print static type inference")
      ("dump-lib", "dump function library")
      ("stable-iterator-ids", "print the iterator plan with stable ids")
      ("no-tree-ids", "suppress ids and locations from compiler tree dumps")
      ("print-intermediate-opt", "print intermediate optimizations")
      ("print-locations", "print parser locations for compiler expressions")
      ("force-gflwor", "force compiler to generate GFLWOR iterators")
      ("reorder-globals", po::value<bool> ()->default_value (true), "reorder global variables (1=enabled (default), 0=off)")
      ("specialize-num", po::value<bool> ()->default_value (true), "specialize numerics (1=enabled (default), 0=off)")
      ("specialize-cmp", po::value<bool> ()->default_value (true), "specialize generic comparisons (1=enabled (default), 0=off)")
      ("inline-udf", po::value<bool> ()->default_value (true), "inline functions (1=enabled (default), 0=off)")
      ("loop-hoisting", po::value<bool>()->default_value (true), "hoist expressions out of loops (1=enabled (default), 0=off)")
      ("infer-joins", po::value<bool>()->default_value (true), "infer joins (1=enabled (default), 0=off)")
      ("no-copy-optim", po::value<bool>()->default_value(true), "no copy optim (1=enabled (default), 0=off)")
      ("serialize-only-query", po::value<int>()->default_value(-1), "serialize-only query (1=true, 0=false, -1 unknown (default))")
#ifndef NDEBUG
      ("trace-translator,l", "trace the translator")
      ("trace-codegen,c", "trace the codegenerator")
      ("trace-fulltext", "trace full-text evaluation")
#endif
      ("debug", "compile the query in debug mode")
      ("compile-only", "only compile (don't execute)")
      ("lib-module", "treat the query as a library module. If this is set --compile-only option is also set to true")
      ("tz", po::value<int>(), "implicit time zone (in minutes)")
      ("external-var,x", po::value<std::vector<std::string> >(), "external variables (e.g. -x x=file1.xml -x y:=strValue)")
      ("serializer-param,z", po::value<std::vector<std::string> >(), "serializer parameters (see http://www.w3.org/TR/xslt-xquery-serialization/#serparam, e.g. -z method=xhtml, -z doctype-system='DTD/xhtml1-strict.dtd', -z indent=yes)")
      ("iter-plan-test", "run as iterator plan test")
      ("dot-plan-file", po::value<std::string>(), "generate the dot iterator plan")
      ("plan", "test plan serialization, i.e. save the plan, load it back and then execute it")
      ("jsoniq,j", "use the new alternative jsoniq parser")
      ("max-udf-call-depth", po::value<uint32_t>()->default_value(1024), "maximum stack depth of udf function calls")
      ("CLASSPATH", po::value<std::string>(), "JVM classpath to be used by modules using Java implementations")