Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a hint about exit() to the help message when the user types ? and presses enter #41997

Merged
merged 1 commit into from
Sep 8, 2021

Conversation

DilumAluthge
Copy link
Member

@DilumAluthge DilumAluthge commented Aug 25, 2021

Closes #41978

This is an alternative to #41978.

I think this PR is less disruptive than #41978. #41978 makes a change to the REPL startup banner. In contrast, this PR does not modify the REPL startup banner. Instead, this PR simply adds the following text to the bottom of the help message that comes up when the user types ? and presses enter:

To exit the interactive session, type CTRL-D (press the
Control/^ key together with the d key), or type exit().

This text is exactly the same as the corresponding text on the Getting Started page: https://docs.julialang.org/en/v1/manual/getting-started/

The REPL startup banner already includes the following hint:

Type "?" for help, "]?" for Pkg help.

So this help message is already pretty easy to discover.

@DilumAluthge DilumAluthge added the domain:docs This change adds or pertains to documentation label Aug 25, 2021
@DilumAluthge DilumAluthge force-pushed the dpa/exit-hint-help-message-question-mark branch from 9df7839 to 3768cd6 Compare August 25, 2021 17:13
base/docs/basedocs.jl Outdated Show resolved Hide resolved
base/docs/basedocs.jl Outdated Show resolved Hide resolved
@DilumAluthge DilumAluthge force-pushed the dpa/exit-hint-help-message-question-mark branch from 4e86e1f to 6cae2c5 Compare August 26, 2021 11:46
@DilumAluthge DilumAluthge force-pushed the dpa/exit-hint-help-message-question-mark branch from 6cae2c5 to bf433ff Compare September 3, 2021 23:45
@DilumAluthge DilumAluthge added the status:merge me PR is reviewed. Merge when all tests are passing label Sep 3, 2021
@DilumAluthge DilumAluthge force-pushed the dpa/exit-hint-help-message-question-mark branch from bf433ff to dadde0d Compare September 8, 2021 14:46
@DilumAluthge DilumAluthge merged commit 3a775cf into master Sep 8, 2021
@DilumAluthge DilumAluthge deleted the dpa/exit-hint-help-message-question-mark branch September 8, 2021 17:51
@DilumAluthge DilumAluthge removed the status:merge me PR is reviewed. Merge when all tests are passing label Sep 9, 2021
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Feb 22, 2022
… and presses enter (JuliaLang#41997)

Co-authored-by: Jeff Bezanson <[email protected]>

Co-authored-by: Jeff Bezanson <[email protected]>
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
… and presses enter (JuliaLang#41997)

Co-authored-by: Jeff Bezanson <[email protected]>

Co-authored-by: Jeff Bezanson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:docs This change adds or pertains to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants