Skip to content

Commit

Permalink
running nvgtw.exe or the mac app should now show a message box at lea…
Browse files Browse the repository at this point in the history
…st rather than silently exiting
  • Loading branch information
samtupy committed Jun 8, 2024
1 parent 2de595b commit 5db7df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nvgt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class nvgt_application : public Poco::Util::Application {
else cout << ver << endl;
return Application::EXIT_OK;
} else if (args.size() < 1) {
std::cout << commandName() << ": error, no input files." << std::endl << "type " << commandName() << " --help for usage instructions" << std::endl;
message("error, no input files.\nType " + commandName() + " --help for usage instructions\n", commandName());
return Application::EXIT_USAGE;
}
string scriptfile = args[0];
Expand Down

0 comments on commit 5db7df3

Please sign in to comment.