Skip to content

Commit

Permalink
Merge branch 'main' into release-please--branches--main--components--…
Browse files Browse the repository at this point in the history
…yargs
  • Loading branch information
bcoe committed May 1, 2023
2 parents 1395336 + e517318 commit 1b2fec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.md
Expand Up @@ -1685,7 +1685,7 @@ to provide configuration for the positional arguments accepted by your program:
```js
const argv = require('yargs/yargs')(process.argv.slice(2))
.usage('$0 <port>', 'start the application server', (yargs) => {
yargs.positional('port', {
return yargs.positional('port', {
describe: 'the port that your application should bind to',
type: 'number'
})
Expand Down

0 comments on commit 1b2fec6

Please sign in to comment.