MartinKoch123 / yaml

MATLAB YAML parser and emitter based on SnakeYAML
MIT License
22 stars 7 forks source link

Minor typo in the docstring for dumpFile #13

Closed billtubbs closed 1 year ago

billtubbs commented 1 year ago

I think there is a typo in the help text of yaml.dumpFile:

>> help yaml.dumpFile
  dumpFile Write data to YAML file.
    yaml.dumpFile(FILE, DATA) converts DATA to YAML and saves it in a new
    file FILE.

    yaml.dumpFile(DATA, STYLE) uses a specific output style.
    STYLE can be "auto" (default), "block" or "flow".

I think the second case should be yaml.dumpFile(FILE, DATA, STYLE)

MartinKoch123 commented 1 year ago

Fixed it, thanks for the hint!