diff options
| author | Frank LENORMAND <lenormf@gmail.com> | 2016-07-20 21:11:36 +0300 |
|---|---|---|
| committer | Frank LENORMAND <lenormf@gmail.com> | 2016-07-23 10:03:25 +0300 |
| commit | ef82c496eb8b565281b8f301e877a8a056266be8 (patch) | |
| tree | ccd81054daa58eb0d17e9d634d53063cf84cbce0 /src | |
| parent | 3c91f711fc5197fbcdb6712c92c44638d4ad2807 (diff) | |
Use a more appropriate error message with unlogical flag combinations
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.cc | 6 |
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; } } |
