diff --git a/include/seqan3/argument_parser/detail/version_check.hpp b/include/seqan3/argument_parser/detail/version_check.hpp index 87e5882557..6b7ba505e4 100644 --- a/include/seqan3/argument_parser/detail/version_check.hpp +++ b/include/seqan3/argument_parser/detail/version_check.hpp @@ -190,7 +190,7 @@ class version_checker // build up command for server call std::string command = program + // no user defined input " " + out_file.string() + " " - + std::string{"http://seqan-update.informatik.uni-tuebingen.de/check/SeqAn3_"} + + + std::string{"https://seqan-update.cs.uni-tuebingen.de/check/SeqAn3_"} + #ifdef __linux "Linux" + #elif __APPLE__ @@ -345,10 +345,10 @@ class version_checker This app can look for updates automatically in the background, do you want to do that? - [a] Always perform version checks for this app (the default). + [a] Always perform version checks for this app. [n] Never perform version checks for this app. [y] Yes, perform a version check now, and ask again tomorrow. - [s] Skip the version check now, but ask again tomorrow. + [s] Skip the version check now, but ask again tomorrow (the default). Please enter one of [a, n, y, s] and press [RETURN]. @@ -360,7 +360,7 @@ class version_checker )"; std::string line{}; std::getline(std::cin, line); - line.resize(1); // ignore everything but the first char or resizes the empty string to the default + line.resize(1, 's'); // ignore everything but the first char or resizes the empty string to the default switch (line[0]) { @@ -368,9 +368,10 @@ class version_checker { return true; } - case 's': + case 'a': { - return false; + write_cookie(std::string{"ALWAYS"}); // overwrite cookie + return true; } case 'n': { @@ -379,8 +380,7 @@ class version_checker } default: { - write_cookie(std::string{"ALWAYS"}); // overwrite cookie - return true; + return false; } } }