From ab31bba6b41f58390f431123ffec5031b986edf5 Mon Sep 17 00:00:00 2001 From: jeho Date: Thu, 18 Mar 2021 13:59:40 +0100 Subject: [PATCH] doc: clarify `lineWidth` dump options (#612) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 90a8fe18..3cbc4bd2 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,7 @@ options: - `schema` _(default: `DEFAULT_SCHEMA`)_ specifies a schema to use. - `sortKeys` _(default: `false`)_ - if `true`, sort keys when dumping YAML. If a function, use the function to sort the keys. -- `lineWidth` _(default: `80`)_ - set max line width. +- `lineWidth` _(default: `80`)_ - set max line width. Set `-1` for unlimited width. - `noRefs` _(default: `false`)_ - if `true`, don't convert duplicate objects into references - `noCompatMode` _(default: `false`)_ - if `true` don't try to be compatible with older yaml versions. Currently: don't quote "yes", "no" and so on, as required for YAML 1.1