Skip to content
Snippets Groups Projects
Commit c1f7da21 authored by Louis Maillard's avatar Louis Maillard
Browse files

crtmgr: remove newline when asking question

This patch remove a typo '\n' while asking an question to user

Change-Id: I06520037a65e91cd3d3496bff37ba854070310ed
parent c8354043
Branches
No related tags found
No related merge requests found
...@@ -339,7 +339,7 @@ main(int argc, char** argv) ...@@ -339,7 +339,7 @@ main(int argc, char** argv)
std::string overwrite = ""; std::string overwrite = "";
if (std::filesystem::exists(yaml_config)) { if (std::filesystem::exists(yaml_config)) {
do { do {
fmt::print("Configuration file already exists in {}. Overwrite it? [y/N] (default: no): \n", yaml_config); fmt::print("Configuration file already exists in {}. Overwrite it? [y/N] (default: no): ", yaml_config);
std::getline(std::cin, overwrite); std::getline(std::cin, overwrite);
overwrite = str_tolower(overwrite); overwrite = str_tolower(overwrite);
if (overwrite == "y") overwrite = "yes"; if (overwrite == "y") overwrite = "yes";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment