Skip to content

Commit

Permalink
Fix misleading error in man page
Browse files Browse the repository at this point in the history
Signed-off-by: Sonja Heinze <[email protected]>
  • Loading branch information
pitag-ha committed Jan 16, 2024
1 parent 1518afc commit b9793f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ unreleased
transformations. All such errors are collected and appended as
extension nodes to the final AST (#447, @burnleydev1)

- Fix a small mistake in the man pages: Embededding errors is done by default with
`-as-pp`, not with `-dump-ast` (#464, @pitag-ha)

0.31.0 (2023-09-21)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion src/driver.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1348,7 +1348,7 @@ let standalone_args =
" Print the parsetree (same as ocamlc -dparsetree)" );
( "-embed-errors",
Arg.Set embed_errors,
" Embed errors in the output AST (default: true when -dump-ast, false \
" Embed errors in the output AST (default: true when -as-pp, false \
otherwise)" );
( "-null",
Arg.Unit (fun () -> set_output_mode Null),
Expand Down

0 comments on commit b9793f0

Please sign in to comment.