aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h7
2 files changed, 10 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index aa112c30b..0b9069497 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -437,6 +437,9 @@
#ifdef CONFIG_TFTP
APPLET(tftp, tftp_main, _BB_DIR_USR_BIN)
#endif
+#ifdef BB_TIME
+ APPLET(time, time_main, _BB_DIR_USR_BIN)
+#endif
#ifdef CONFIG_TOUCH
APPLET(touch, touch_main, _BB_DIR_BIN)
#endif
diff --git a/include/usage.h b/include/usage.h
index df1c18ec7..a3447e83a 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1701,6 +1701,13 @@
USAGE_TFTP_BS( \
"\t-b SIZE\tTransfer blocks of SIZE octets.\n" \
)
+#define time_trivial_usage \
+ "[OPTION]... COMMAND [ARGS...]"
+#define time_full_usage \
+ "Runs the program COMMAND with arguments ARGS. When COMMAND finishes,\n"
+ "COMMAND's resource usage information is displayed\n\n"
+ "Options:\n" \
+ "\t-v\tDisplays verbose resource usage information."
#define touch_trivial_usage \
"[-c] FILE [FILE ...]"