Changeset 20108 for trunk/FACT++/src
- Timestamp:
- 10/06/21 15:15:06 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/spectrum.cc
r19987 r20108 138 138 debug.add_options() 139 139 ("dry-run", po_bool(), "Only write the queries to the query.log file. Internally overwrites uri with an empty string.") 140 ("print-uri", po_bool(), "Print the interpreted URI (warning: passwort is printed to the console)") 140 141 ("print-connection", po_bool(), "Print database connection information") 141 142 #ifdef HAVE_HIGHLIGHT … … 638 639 const bool feldman = conf.Get<bool>("feldman-cousins"); 639 640 641 const bool print_uri = conf.Get<bool>("print-uri"); 640 642 const bool print_connection = conf.Get<bool>("print-connection"); 641 643 const bool print_queries = conf.Get<bool>("print-queries"); … … 678 680 // Checking for database connection 679 681 680 Database connection(uri ); // Keep alive while fetching rows682 Database connection(uri, print_uri); // Keep alive while fetching rows 681 683 682 684 if (!uri.empty())
Note:
See TracChangeset
for help on using the changeset viewer.