We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd797c9 commit d135c80Copy full SHA for d135c80
1 file changed
README.md
@@ -262,6 +262,7 @@ opt.number({ default: 42 }); // --count 42
262
opt.boolean({ aliases: ['v'] }); // --verbose, -v
263
opt.enum(['a', 'b', 'c']); // --level a
264
opt.array('string'); // --file x --file y
265
+opt.array(['low', 'medium', 'high']); // --priority low --priority high
266
opt.count(); // -vvv → 3
267
```
268
0 commit comments