diff --git a/README.md b/README.md index 4825a21..cd51885 100644 --- a/README.md +++ b/README.md @@ -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 $ ./index.js --input data.bin --size 1024 @@ -84,7 +84,6 @@ OPTIONS Size of the file, must be a non-negative integer ``` - # License Copyright (C) 2018 Jedipedia.net diff --git a/src/interfaces/IState.ts b/src/interfaces/IState.ts index 1100357..3fd8c6f 100644 --- a/src/interfaces/IState.ts +++ b/src/interfaces/IState.ts @@ -1,7 +1,7 @@ export default interface IState { /** Stores the parsed arguments that are returned by the argument parser */ 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 }; /** 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 };