📝 Fix documentation
This commit is contained in:
parent
e216cc35e3
commit
44bda57c89
1 changed files with 7 additions and 7 deletions
10
README.md
10
README.md
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue