Skip to content

Commit

Permalink
Fixed -v version.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtytel committed Sep 9, 2015
1 parent cab597b commit 7965083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/standalone/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class HelmApplication : public JUCEApplication {
bool moreThanOneInstanceAllowed() override { return true; }

void initialise(const String& commandLine) override {
if (commandLine.contains("--version") || commandLine.contains(" -v")) {
if (commandLine.contains("--version") || commandLine.contains("-v")) {
std::cout << getApplicationName() << " " << getApplicationVersion() << newLine;
quit();
}
Expand Down

0 comments on commit 7965083

Please sign in to comment.