Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix wrong version reported by "bin/pegjs --version"

DRY: Now the version is stored only in the VERSION file.
  • Loading branch information...
commit 977d1d20c7738c2f3e364f508cc8122caf4f590b 1 parent 4ea2003
@dmajda dmajda authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/pegjs-main.js
View
2  bin/pegjs-main.js
@@ -45,7 +45,7 @@ function isOption(arg) {
}
function printVersion() {
- print("PEG.js 0.1");
+ print("PEG.js " + PEG.VERSION);
}
function printHelp() {
Please sign in to comment.
Something went wrong with that request. Please try again.