📝 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
|
```json
|
||||||
{
|
{
|
||||||
"dependencies": {
|
"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({
|
const { args, fail } = parseArguments({
|
||||||
input: {
|
input: {
|
||||||
short: 'i',
|
short: 'i',
|
||||||
description: 'Path to the input file',
|
description: 'Path to the input file'
|
||||||
},
|
},
|
||||||
size: {
|
size: {
|
||||||
default: '0',
|
default: '0',
|
||||||
short: 's',
|
short: 's',
|
||||||
description: 'Size of the file, must be a non-negative integer',
|
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 {
|
try {
|
||||||
|
@ -88,7 +88,7 @@ OPTIONS
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Copyright (C) 2018 Jedipedia.net
|
Copyright (C) 2018-2019 Jedipedia.net
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Affero General Public License as
|
it under the terms of the GNU Affero General Public License as
|
||||||
|
|
Loading…
Reference in a new issue