Skip to content
Browse files

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

DRY: Now the version is stored only in the VERSION file.
  • Loading branch information...
1 parent 4ea2003 commit 977d1d20c7738c2f3e364f508cc8122caf4f590b @dmajda dmajda committed Nov 14, 2010
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() {

0 comments on commit 977d1d2

Please sign in to comment.
Something went wrong with that request. Please try again.