mirror of
https://github.com/flynx/argv.js.git
synced 2025-12-20 18:41:39 +00:00
typo fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
fa73594843
commit
8b8f9139fb
@ -435,7 +435,7 @@ The `<parser>` will call different sets of callbacks on different stop condition
|
|||||||
console.log(`### stopped at ${arg}.`) })
|
console.log(`### stopped at ${arg}.`) })
|
||||||
```
|
```
|
||||||
|
|
||||||
- [`<parser>.stop(..)`](./ADVANCED.md#parserstop) when an error is detected
|
- [`<parser>.error(..)`](./ADVANCED.md#parsererror) when an error is detected
|
||||||
```javascript
|
```javascript
|
||||||
.error(function(reason, arg, rest){
|
.error(function(reason, arg, rest){
|
||||||
console.log(`### something went wrong when parsing ${arg}.`) })
|
console.log(`### something went wrong when parsing ${arg}.`) })
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user