summaryrefslogtreecommitdiff
path: root/usr.bin/osh
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/osh')
-rw-r--r--usr.bin/osh/osh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/osh/osh.c b/usr.bin/osh/osh.c
index f3a3a93..f02b019 100644
--- a/usr.bin/osh/osh.c
+++ b/usr.bin/osh/osh.c
@@ -55,6 +55,7 @@
"fetch - System information\n" \
"kfg - Start up kfgwm\n" \
"bell - Toggle backspace bell\n" \
+ "time - Get the current time\n" \
"exit - Exit the shell"
#define PROMPT "[root::osmora]~ "
@@ -226,6 +227,7 @@ struct command cmds[] = {
{"reboot", NULL, cmd_reboot},
{"shutdown", NULL, cmd_shutdown},
{"bell", NULL, cmd_bell},
+ {"time", "/usr/bin/time", NULL},
{"kmsg", "/usr/bin/kmsg", NULL},
{"fetch", "/usr/bin/fetch", NULL},
{"kfg", "/usr/bin/kfgwm", NULL},