Skip to content

Commit

Permalink
docs: use absolute "default command" link in .positional (#2111)
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobMGEvans committed Dec 31, 2021
1 parent 30edd50 commit bfc7e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.md
Expand Up @@ -1410,7 +1410,7 @@ should be called in a command's builder function, and is not
available on the top-level yargs instance.

> _you can describe top-level positional arguments using
[default commands](/docs/advanced.md#default-commands)._
[default commands](https://github.com/yargs/yargs/blob/main/docs/advanced.md#default-commands)._

```js
const argv = require('yargs/yargs')('run --help')
Expand Down

0 comments on commit bfc7e41

Please sign in to comment.