Skip to content

Commit 1e2e339

Browse files
committed
Fix comment
1 parent d64753e commit 1e2e339

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/yargs-parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ export class YargsParser {
980980
const flagWithEquals = /^-+([^=]+?)=[\s\S]*$/
981981
// e.g. '-a' or '--arg'
982982
const normalFlag = /^-+([^=]+?)$/
983-
// e.g. '-a-'
983+
// check the different types of flag styles, including negatedBoolean, a pattern defined near the start of the parse method
984984
return !hasFlagsMatching(arg, flagWithEquals, negatedBoolean, normalFlag)
985985
}
986986

0 commit comments

Comments
 (0)