Skip to content

Commit f4ab780

Browse files
committed
Merge pull request #131 from jakirkham/add_confirm_exit
DOC: Add info about how to disable confirm exit in the config file.
2 parents 89e85db + dd9b16c commit f4ab780

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

jupyter_client/consoleapp.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,15 @@
4848
}
4949
app_flags.update(boolean_flag(
5050
'confirm-exit', 'JupyterConsoleApp.confirm_exit',
51-
"""Set to display confirmation dialog on exit. You can always use 'exit' or 'quit',
52-
to force a direct exit without any confirmation.
51+
"""Set to display confirmation dialog on exit. You can always use 'exit' or
52+
'quit', to force a direct exit without any confirmation. This can also
53+
be set in the config file by setting
54+
`c.TerminalInteractiveShell.confirm_exit`.
5355
""",
5456
"""Don't prompt the user when exiting. This will terminate the kernel
5557
if it is owned by the frontend, and leave it alive if it is external.
58+
This can also be set in the config file by setting
59+
`c.TerminalInteractiveShell.confirm_exit`.
5660
"""
5761
))
5862
flags.update(app_flags)

0 commit comments

Comments
 (0)