📝 Fix documentation

This commit is contained in:
C-3PO 2019-07-21 17:00:47 +02:00
parent e216cc35e3
commit 44bda57c89
Signed by: c3po
GPG key ID: 62993C4BB4D86F24

View file

@ -17,7 +17,7 @@ In the project where you want to use this library, add the following to your `pa
```json
{
"dependencies": {
"ssn": "git+https://git.jedipedia.net/swtor/argument-parser.git"
"argument-parser": "git+https://git.jedipedia.net/swtor/argument-parser.git"
}
}
```
@ -48,14 +48,14 @@ import parseArguments from 'argument-parser';
const { args, fail } = parseArguments({
input: {
short: 'i',
description: 'Path to the input file',
description: 'Path to the input file'
},
size: {
default: '0',
short: 's',
description: 'Size of the file, must be a non-negative integer',
verify: (str) => (str.match(/^[0-9]+$/) !== null),
},
verify: str => str.match(/^[0-9]+$/) !== null
}
});
try {
@ -88,7 +88,7 @@ OPTIONS
## License
Copyright (C) 2018 Jedipedia.net
Copyright (C) 2018-2019 Jedipedia.net
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as