Skip to content
Snippets Groups Projects
Commit 30bc0a30 authored by Tristan Walter's avatar Tristan Walter
Browse files

set quiet in the right place

parent 90c534b9
No related branches found
No related tags found
No related merge requests found
......@@ -201,6 +201,16 @@ int main(int argc, char**argv) {
CommandLine cmd(argc, argv, true);
cmd.cd_home();
std::vector<std::pair<std::string, std::string>> updated_settings;
std::vector<std::string> remove_settings;
bool fix = false, repair_index = false, save_background = false;
bool be_quiet = false, print_plain = false, heatmap = false, auto_param = false;
SETTING(quiet) = false;
cmd.load_settings();
be_quiet = SETTING(quiet);
#if !defined(__APPLE__) && defined(TREX_CONDA_PACKAGE_INSTALL)
auto conda_prefix = ::default_config::conda_environment_path().str();
if(!conda_prefix.empty()) {
......@@ -219,16 +229,6 @@ int main(int argc, char**argv) {
//DebugHeader("LOADED 'default.settings'");
}
std::vector<std::pair<std::string, std::string>> updated_settings;
std::vector<std::string> remove_settings;
bool fix = false, repair_index = false, save_background = false;
bool be_quiet = false, print_plain = false, heatmap = false, auto_param = false;
SETTING(quiet) = false;
cmd.load_settings();
be_quiet = SETTING(quiet);
//const char *command = NULL, *value = NULL;
size_t i=0;
for(auto &option : cmd) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment