From 68894fa3390d6a55d1f5bdf70296718577534182 Mon Sep 17 00:00:00 2001 From: C-3PO <c-3po@jedipedia.net> Date: Thu, 25 Oct 2018 06:48:44 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=20Fix=20typos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 +-- src/interfaces/IState.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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 };