Skip to content

Commit 095ceaa

Browse files
y3tsengy3tseng
authored andcommitted
modify output messeges
1 parent b2b6c37 commit 095ceaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/setting.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ msa::option::option(po::variables_map& vm) {
429429
if (!vm.count("overwrite")) {
430430
std::string outFileStr = (this->compressed) ? this->outFile + ".gz" : this->outFile;
431431
if (fs::exists(outFileStr)) {
432-
std::cerr << "ERROR: " << outFileStr << " already exists. Please use another file name.\n";
432+
std::cerr << "ERROR: " << outFileStr << " already exists. Please use another file name or add --overwrite to overwrite the existing file.\n";
433433
fs::remove_all(tempDir);
434434
exit(1);
435435
}

0 commit comments

Comments
 (0)