✏ Fix typos

This commit is contained in:
C-3PO 2018-10-25 06:48:44 +02:00
parent fe7d65ddb8
commit 68894fa339
Signed by: c3po
GPG key ID: 62993C4BB4D86F24
2 changed files with 2 additions and 3 deletions

View file

@ -64,7 +64,7 @@ try {
} }
``` ```
When correctly called from the command line, it prints the following: When called correctly from the command line, it prints the following:
```bash ```bash
$ ./index.js --input data.bin --size 1024 $ ./index.js --input data.bin --size 1024
@ -84,7 +84,6 @@ OPTIONS
Size of the file, must be a non-negative integer Size of the file, must be a non-negative integer
``` ```
# License # License
Copyright (C) 2018 Jedipedia.net Copyright (C) 2018 Jedipedia.net

View file

@ -1,7 +1,7 @@
export default interface IState { export default interface IState {
/** Stores the parsed arguments that are returned by the argument parser */ /** Stores the parsed arguments that are returned by the argument parser */
outputArgs: { [key: string]: string }; outputArgs: { [key: string]: string };
/** Lookup table from the short option names to their corresponding long option nmae */ /** Lookup table from the short option names to their corresponding long option name */
shortToLongLookup: { [key: string]: string }; shortToLongLookup: { [key: string]: string };
/** For each required option, store if the parser already encountered it. At the end of parsing, all entries must be set to true or the parser fails. */ /** For each required option, store if the parser already encountered it. At the end of parsing, all entries must be set to true or the parser fails. */
requiredOptions: { [key: string]: boolean }; requiredOptions: { [key: string]: boolean };