Skip to content

Commit

Permalink
Merge pull request #64 from jimt/patch-1
Browse files Browse the repository at this point in the history
fix M172DMR version/usage messages
  • Loading branch information
juribeparada authored Nov 29, 2021
2 parents 29867df + 72ec824 commit 7bde628
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions M172DMR/M172DMR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ int main(int argc, char** argv)
for (int currentArg = 1; currentArg < argc; ++currentArg) {
std::string arg = argv[currentArg];
if ((arg == "-v") || (arg == "--version")) {
::fprintf(stdout, "P252DMR version %s\n", VERSION);
::fprintf(stdout, "M172DMR version %s\n", VERSION);
return 0;
} else if (arg.substr(0, 1) == "-") {
::fprintf(stderr, "Usage: P252DMR [-v|--version] [filename]\n");
::fprintf(stderr, "Usage: M172DMR [-v|--version] [filename]\n");
return 1;
} else {
iniFile = argv[currentArg];
Expand Down

0 comments on commit 7bde628

Please sign in to comment.