Skip to content

Commit

Permalink
Mention the help directive on toplevel startup
Browse files Browse the repository at this point in the history
  • Loading branch information
wikku committed Oct 15, 2021
1 parent 90c1365 commit 7302ed6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ Working version
(Nicolás Ojeda Bär, report by Gabriel Scherer, review by Daniel Bünzli,
Gabriel Scherer and David Allsopp)

- #10527: Show "#help;; for help" at toplevel startup
(Wiktor Kuchta, review by ...)

### Manual and documentation:

- #7812, #10475: reworded the description of the behaviors of
Expand Down
2 changes: 1 addition & 1 deletion toplevel/toploop.ml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ let loop ppf =
Clflags.debug := true;
Location.formatter_for_warnings := ppf;
if not !Clflags.noversion then
fprintf ppf " OCaml version %s%s%s@.@."
fprintf ppf "OCaml version %s%s%s@.Enter #help;; for help.@.@."
Config.version
(if Topeval.implementation_label = "" then "" else " - ")
Topeval.implementation_label;
Expand Down

0 comments on commit 7302ed6

Please sign in to comment.