Skip to content

Commit acbbe18

Browse files
authoredApr 18, 2022
Deprecate multi-character short flags (#1718)
1 parent 6c26370 commit acbbe18

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎docs/deprecated.md

+7
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ They are currently still available for backwards compatibility, but should not b
1313
- [.command('*')](#command)
1414
- [cmd.description(cmdDescription, argDescriptions)](#cmddescriptioncmddescription-argdescriptions)
1515
- [InvalidOptionArgumentError](#invalidoptionargumenterror)
16+
- [Short option flag longer than a single character](#short-option-flag-longer-than-a-single-character)
1617

1718
## RegExp .option() parameter
1819

@@ -183,3 +184,9 @@ function myParseInt(value, dummyPrevious) {
183184
```
184185

185186
Deprecated from Commander v8.
187+
188+
## Short option flag longer than a single character
189+
190+
Short option flags like `-ws` were never supported, but the old README did not make this clear. The README now states that short options are a single character.
191+
192+
README updated in Commander v3. Deprecated from Commander v9.

0 commit comments

Comments
 (0)
Please sign in to comment.