Changeset 19454 for trunk/FACT++
- Timestamp:
- 03/28/19 20:51:55 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Configuration.cc
r19385 r19454 468 468 if (prgname.empty()) 469 469 return; 470 471 const boost::filesystem::path rc(fName+".rc"); 470 472 471 473 po::options_description generic("Generic options"); … … 495 497 ("database", var<string>(), "Database link as in\n\t[user[:password]@]server.com[:port]/database[?compress=0|1]\nOverwrites options from the default configuration file.") 496 498 ("no-database", "Suppress any access to the database even if a database URL was set.") 497 ("default", var<string>( fName+string(".rc")), "Default configuration file.")498 ("prefix", var<string>( ), "Path to default configuration file.")499 ("default", var<string>(rc.filename().string()), "Name of default configuration file.") 500 ("prefix", var<string>(rc.parent_path().string()), "Path to default configuration file.") 499 501 ; 500 502
Note:
See TracChangeset
for help on using the changeset viewer.