Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: correct typo in readme examples #358

Merged
merged 3 commits into from
Mar 8, 2021
Merged

Conversation

zypA13510
Copy link
Contributor

@zypA13510 zypA13510 commented Mar 2, 2021

On my end:

$ node -e 'console.log(require("yargs-parser")(process.argv.slice(1)))' 99.3
{ _: [ 99.3 ] }

Not sure why it is 99 in the README, seems to me like a typo.

Also updated all the example snippets to use the correct language code "console" (which is for shell script and their output) instead of "sh" (which is for shell script only). [rendered preview]

Change the snippet language code to use for shell command and their output, according to github-linguist/linguist#1071.
Copy link
Member

@bcoe bcoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you for the contribution.

@bcoe bcoe merged commit 69e25a5 into yargs:master Mar 8, 2021
@zypA13510 zypA13510 deleted the patch-1 branch May 4, 2024 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants