Mercurial > octave
diff etc/NEWS.8.md @ 30992:4ef25c610433
format: Add 'default' format option (bug #62430)
* pr-output.cc (set_format_style): Add format option 'default' to set the same
state as if format was called without arguments and overrides other format
options if multiple options are provided.
* pr-output.cc (format): Update docstring with changes about new 'default'
option, function calling form, and errors when both inputs and outputs are
specified.
* NEWS.8.md: Note change under Matlab Compatability.
author | Nicholas R. Jankowski <jankowski.nicholas@gmail.com> |
---|---|
date | Mon, 09 May 2022 13:58:46 -0400 |
parents | e8ced722b19e |
children | 4298af839d20 |
line wrap: on
line diff
--- a/etc/NEWS.8.md Mon May 09 12:58:05 2022 -0400 +++ b/etc/NEWS.8.md Mon May 09 13:58:46 2022 -0400 @@ -33,6 +33,9 @@ - `print` now accepts option `-image` to specify the "opengl" renderer and `-vector` to specify the "painters" renderer. +- `format` now accepts the option "default", which is equivalent to + calling `format` without any options to reset the default state. + ### Alphabetical list of new functions added in Octave 8