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

Documentation update (-1 for --lineWidth means unlimited width) #12

Merged
merged 1 commit into from
Mar 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Options:
--indent, --id Indentation width to use (in spaces) [number] [default: 2]
-e, --encoding Input encoding [choices: "ascii", "utf8", "utf16le"] [default: "utf8"]
-q, --quotingStyle Strings will be quoted using this quoting style [choices: "single", "double"] [default: "single"]
-w, --lineWidth Wrap line width [number] [default: 80]
-w, --lineWidth Wrap line width (-1 for unlimited width) [number] [default: 80]
-h, --help Show help [boolean]
--version Show version number [boolean]

Expand Down
2 changes: 1 addition & 1 deletion yaml-sort.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const argv = yargs
.option('lineWidth', {
alias: 'w',
default: 80,
describe: 'Wrap line width',
describe: 'Wrap line width (-1 for unlimited width)',
number: true
})
.help('h')
Expand Down