IfcConvert - prompt expected user response

This commit is contained in:
Andrej730
2025-08-12 17:30:35 +05:00
parent 64a9c1f473
commit 29ba0f3c03
+1 -1
View File
@@ -587,7 +587,7 @@ int main(int argc, char** argv) {
if (file_exists(IfcUtil::path::to_utf8(output_filename)) && !vmap.count("yes")) {
std::string answer;
cout_ << "A file '" << output_filename << "' already exists. Overwrite the existing file?" << std::endl;
cout_ << "A file '" << output_filename << "' already exists. Overwrite the existing file? y/n" << std::endl;
std::cin >> answer;
if (!boost::iequals(answer, "yes") && !boost::iequals(answer, "y")) {
return EXIT_SUCCESS;