Parser#check(...) is a chainable function, just like all the others

This commit is contained in:
Christopher Brown
2016-02-16 16:35:04 -06:00
parent be0077fc10
commit 3ac0f658bd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ parser = parser.options({});
parser = parser.usage(str);
parser.check(checkFn);
parser = parser.check(checkFn);
parser = parser.boolean(str);
parser = parser.boolean([str]);