mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 15:03:34 +00:00
Update redbean doc to correct return values (#610)
This commit is contained in:
parent
569c031934
commit
55ddf73484
1 changed files with 6 additions and 6 deletions
|
@ -792,7 +792,7 @@ FUNCTIONS
|
||||||
The following options may be used:
|
The following options may be used:
|
||||||
|
|
||||||
- useoutput: (bool=false) encodes the result directly to the
|
- useoutput: (bool=false) encodes the result directly to the
|
||||||
output buffer and returns `nil` value. This option is
|
output buffer and returns `true` value. This option is
|
||||||
ignored if used outside of request handling code.
|
ignored if used outside of request handling code.
|
||||||
|
|
||||||
- sorted: (bool=true) Lua uses hash tables so the order of
|
- sorted: (bool=true) Lua uses hash tables so the order of
|
||||||
|
@ -801,13 +801,13 @@ FUNCTIONS
|
||||||
don't care about ordering then setting `sorted=false`
|
don't care about ordering then setting `sorted=false`
|
||||||
should yield a performance boost in serialization.
|
should yield a performance boost in serialization.
|
||||||
|
|
||||||
- pretty: (bool=false) Setting this option to true will
|
- pretty: (bool=false) Setting this option to `true` will
|
||||||
cause tables with more than one entry to be formatted
|
cause tables with more than one entry to be formatted
|
||||||
across multiple lines for readability.
|
across multiple lines for readability.
|
||||||
|
|
||||||
- indent: (str=" ") This option controls the indentation of
|
- indent: (str=" ") This option controls the indentation of
|
||||||
pretty formatting. This field is ignored if `pretty` isn't
|
pretty formatting. This field is ignored if `pretty` isn't
|
||||||
true.
|
`true`.
|
||||||
|
|
||||||
- maxdepth: (int=64) This option controls the maximum amount
|
- maxdepth: (int=64) This option controls the maximum amount
|
||||||
of recursion the serializer is allowed to perform. The max
|
of recursion the serializer is allowed to perform. The max
|
||||||
|
@ -863,7 +863,7 @@ FUNCTIONS
|
||||||
The following options may be used:
|
The following options may be used:
|
||||||
|
|
||||||
- useoutput: (bool=false) encodes the result directly to the
|
- useoutput: (bool=false) encodes the result directly to the
|
||||||
output buffer and returns `nil` value. This option is
|
output buffer and returns `true` value. This option is
|
||||||
ignored if used outside of request handling code.
|
ignored if used outside of request handling code.
|
||||||
|
|
||||||
- sorted: (bool=true) Lua uses hash tables so the order of
|
- sorted: (bool=true) Lua uses hash tables so the order of
|
||||||
|
@ -872,13 +872,13 @@ FUNCTIONS
|
||||||
don't care about ordering then setting `sorted=false`
|
don't care about ordering then setting `sorted=false`
|
||||||
should yield a performance boost in serialization.
|
should yield a performance boost in serialization.
|
||||||
|
|
||||||
- pretty: (bool=false) Setting this option to true will
|
- pretty: (bool=false) Setting this option to `true` will
|
||||||
cause tables with more than one entry to be formatted
|
cause tables with more than one entry to be formatted
|
||||||
across multiple lines for readability.
|
across multiple lines for readability.
|
||||||
|
|
||||||
- indent: (str=" ") This option controls the indentation of
|
- indent: (str=" ") This option controls the indentation of
|
||||||
pretty formatting. This field is ignored if `pretty` isn't
|
pretty formatting. This field is ignored if `pretty` isn't
|
||||||
true.
|
`true`.
|
||||||
|
|
||||||
- maxdepth: (int=64) This option controls the maximum amount
|
- maxdepth: (int=64) This option controls the maximum amount
|
||||||
of recursion the serializer is allowed to perform. The max
|
of recursion the serializer is allowed to perform. The max
|
||||||
|
|
Loading…
Reference in a new issue