summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrank LENORMAND <lenormf@gmail.com>2016-07-20 21:11:36 +0300
committerFrank LENORMAND <lenormf@gmail.com>2016-07-23 10:03:25 +0300
commitef82c496eb8b565281b8f301e877a8a056266be8 (patch)
treeccd81054daa58eb0d17e9d634d53063cf84cbce0 /src
parent3c91f711fc5197fbcdb6712c92c44638d4ad2807 (diff)
Use a more appropriate error message with unlogical flag combinations
Diffstat (limited to 'src')
-rw-r--r--src/main.cc6
1 files 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;
}
}