Skip to content

Commit

Permalink
Tidy missing argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
flatheadmill committed Apr 4, 2016
1 parent 86af204 commit f314ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getopt.js
Expand Up @@ -70,7 +70,7 @@ function getopt (pat, argv) {
if (argv.length == 0) {
return {
abend: 'missing argument',
context: arg[1][1] != '-' ? arg[1] : '--' + opt
context: isLong ? pattern.long : pattern.short
}
}
value = argv.shift()
Expand Down

0 comments on commit f314ec5

Please sign in to comment.