aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/shell_default.erl
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2015-04-20 09:51:49 +0200
committerRichard Carlsson <[email protected]>2015-05-12 10:36:54 +0200
commit6e24ffab6c682383a1c284fc066e59c680c4c62e (patch)
treeb79c26d137d9eb297be928820c76013cf7a8c1fd /lib/stdlib/src/shell_default.erl
parentce96ab6d64768cd6536011ccdecc08191c238220 (diff)
downloadotp-6e24ffab6c682383a1c284fc066e59c680c4c62e.tar.gz
otp-6e24ffab6c682383a1c284fc066e59c680c4c62e.tar.bz2
otp-6e24ffab6c682383a1c284fc066e59c680c4c62e.zip
Add uptime() shell command
Diffstat (limited to 'lib/stdlib/src/shell_default.erl')
-rw-r--r--lib/stdlib/src/shell_default.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stdlib/src/shell_default.erl b/lib/stdlib/src/shell_default.erl
index 3fe359af0e..0fca7ff8c7 100644
--- a/lib/stdlib/src/shell_default.erl
+++ b/lib/stdlib/src/shell_default.erl
@@ -23,7 +23,7 @@
-module(shell_default).
-export([help/0,lc/1,c/1,c/2,nc/1,nl/1,l/1,i/0,pid/3,i/3,m/0,m/1,
- memory/0,memory/1,
+ memory/0,memory/1,uptime/0,
erlangrc/1,bi/1, regs/0, flush/0,pwd/0,ls/0,ls/1,cd/1,
y/1, y/2,
xm/1, bt/1, q/0,
@@ -92,6 +92,7 @@ pid(X,Y,Z) -> c:pid(X,Y,Z).
pwd() -> c:pwd().
q() -> c:q().
regs() -> c:regs().
+uptime() -> c:uptime().
xm(Mod) -> c:xm(Mod).
y(File) -> c:y(File).
y(File, Opts) -> c:y(File, Opts).