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 20, 2021
1 parent a7bf9cb commit 5a44941
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 @@ -117,6 +117,9 @@ Working version
- #10565: Toplevel value printing: truncate strings only after 8 bytes.
(Wiktor Kuchta, review by Xavier Leroy)

- #10527: Show "#help;; for help" at toplevel startup
(Wiktor Kuchta, review by David Allsopp and Florian Angeletti)

### Debugging:

- #10517, #10594: when running ocamldebug on a program linked with the
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 5a44941

Please sign in to comment.