File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ const parseArgs = (
149149 // withValue option should also support setting values when '=
150150 // isn't used ie. both --foo=b and --foo b should work
151151
152- // If withValue option is specified, take next position arguement as
152+ // If withValue option is specified, take next position argument as
153153 // value and then increment pos so that we don't re-evaluate that
154154 // arg, else set value as undefined ie. --foo b --bar c, after setting
155155 // b as the value for foo, evaluate --bar next and skip 'b'
@@ -160,12 +160,12 @@ const parseArgs = (
160160 } else {
161161 // Cases when an arg is specified without a value, example
162162 // '--foo --bar' <- 'foo' and 'bar' flags should be set to true and
163- // shave value as undefined
163+ // save value as undefined
164164 storeOptionValue ( options , arg , undefined , result ) ;
165165 }
166166
167167 } else {
168- // Arguements without a dash prefix are considered "positional"
168+ // Arguments without a dash prefix are considered "positional"
169169 ArrayPrototypePush ( result . positionals , arg ) ;
170170 }
171171
You can’t perform that action at this time.
0 commit comments