aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/shell_default.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2010-02-05 08:41:18 +0000
committerErlang/OTP <[email protected]>2010-02-05 08:41:18 +0000
commit0949cc8ed1de57e3388cf22a83bc147bce2b3e0f (patch)
treeeb37346659456746523cda458ad1acbc9c69862b /lib/stdlib/src/shell_default.erl
parente5d4b0bddc75eda1ad3445d7164171c0a6e8bbf6 (diff)
downloadotp-0949cc8ed1de57e3388cf22a83bc147bce2b3e0f.tar.gz
otp-0949cc8ed1de57e3388cf22a83bc147bce2b3e0f.tar.bz2
otp-0949cc8ed1de57e3388cf22a83bc147bce2b3e0f.zip
OTP-8393 The new function shell:prompt_func/1 and the new application
configuration parameter shell_prompt_func can be used for customizing the Erlang shell prompt.
Diffstat (limited to 'lib/stdlib/src/shell_default.erl')
-rw-r--r--lib/stdlib/src/shell_default.erl11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/stdlib/src/shell_default.erl b/lib/stdlib/src/shell_default.erl
index 670f8cdb44..3fe359af0e 100644
--- a/lib/stdlib/src/shell_default.erl
+++ b/lib/stdlib/src/shell_default.erl
@@ -1,19 +1,19 @@
%%
%% %CopyrightBegin%
-%%
-%% Copyright Ericsson AB 1996-2009. All Rights Reserved.
-%%
+%%
+%% Copyright Ericsson AB 1996-2010. All Rights Reserved.
+%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
%% compliance with the License. You should have received a copy of the
%% Erlang Public License along with this software. If not, it can be
%% retrieved online at http://www.erlang.org/.
-%%
+%%
%% Software distributed under the License is distributed on an "AS IS"
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
%% the License for the specific language governing rights and limitations
%% under the License.
-%%
+%%
%% %CopyrightEnd%
%%
@@ -45,6 +45,7 @@ help() ->
format("h() -- history\n"),
format("history(N) -- set how many previous commands to keep\n"),
format("results(N) -- set how many previous command results to keep\n"),
+ format("catch_exception(B) -- how exceptions are handled\n"),
format("v(N) -- use the value of query <N>\n"),
format("rd(R,D) -- define a record\n"),
format("rf() -- remove all record information\n"),