Skip to content

Commit

Permalink
fix error message for 'long argument'
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti committed Jul 20, 2023
1 parent fb9e68f commit 9245703
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/apps/proj.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,10 @@ int main(int argc, char **argv) {
(void)printf("%s\n", pj_get_version());
exit(0);
}
else {
emess(1, "invalid option: %s", *argv);
break;
}
default:
emess(1, "invalid option: -%c", *arg);
break;
Expand Down

0 comments on commit 9245703

Please sign in to comment.