From ef82c496eb8b565281b8f301e877a8a056266be8 Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Wed, 20 Jul 2016 21:11:36 +0300 Subject: [PATCH] Use a more appropriate error message with unlogical flag combinations --- src/main.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.cc b/src/main.cc index 8e8ad9b4..1b9eea4d 100644 --- a/src/main.cc +++ b/src/main.cc @@ -783,7 +783,7 @@ int main(int argc, char* argv[]) { if (parser.get_switch(opt)) { - write_stderr(format("error: -{} makes not sense with -p\n", opt)); + write_stderr(format("error: -{} is incompatible with -p\n", opt)); return -1; } } @@ -797,7 +797,7 @@ int main(int argc, char* argv[]) { if (parser.get_switch("ro")) { - write_stderr("error: -ro makes not sense with -f\n"); + write_stderr("error: -ro is incompatible with -f\n"); return -1; } @@ -815,7 +815,7 @@ int main(int argc, char* argv[]) { if (parser.get_switch(opt)) { - write_stderr(format("error: -{} makes not sense with -c\n", opt)); + write_stderr(format("error: -{} is incompatible with -c\n", opt)); return -1; } }