Fix wrong version reported by "bin/pegjs --version"
DRY: Now the version is stored only in the VERSION file.
This commit is contained in:
parent
4ea2003b7b
commit
977d1d20c7
|
@ -45,7 +45,7 @@ function isOption(arg) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function printVersion() {
|
function printVersion() {
|
||||||
print("PEG.js 0.1");
|
print("PEG.js " + PEG.VERSION);
|
||||||
}
|
}
|
||||||
|
|
||||||
function printHelp() {
|
function printHelp() {
|
||||||
|
|
Loading…
Reference in a new issue