diff options
| author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-11-30 07:54:32 +0000 |
|---|---|---|
| committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-11-30 07:54:32 +0000 |
| commit | 2daf9a26ec6606844500189e2a6ba1f8ccccd425 (patch) | |
| tree | 4e2e551a99ee63df2bff47792c553cd2632b5883 /include | |
| parent | dcfb49e05446cbf8979dff0e8366c2015a25e0c9 (diff) | |
| download | busybox-w32-2daf9a26ec6606844500189e2a6ba1f8ccccd425.tar.gz busybox-w32-2daf9a26ec6606844500189e2a6ba1f8ccccd425.tar.bz2 busybox-w32-2daf9a26ec6606844500189e2a6ba1f8ccccd425.zip | |
Add in a 'time' applet. Adds 4.5k.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@3819 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
| -rw-r--r-- | include/applets.h | 3 | ||||
| -rw-r--r-- | include/usage.h | 7 |
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 @@ | |||
| 437 | #ifdef CONFIG_TFTP | 437 | #ifdef CONFIG_TFTP |
| 438 | APPLET(tftp, tftp_main, _BB_DIR_USR_BIN) | 438 | APPLET(tftp, tftp_main, _BB_DIR_USR_BIN) |
| 439 | #endif | 439 | #endif |
| 440 | #ifdef BB_TIME | ||
| 441 | APPLET(time, time_main, _BB_DIR_USR_BIN) | ||
| 442 | #endif | ||
| 440 | #ifdef CONFIG_TOUCH | 443 | #ifdef CONFIG_TOUCH |
| 441 | APPLET(touch, touch_main, _BB_DIR_BIN) | 444 | APPLET(touch, touch_main, _BB_DIR_BIN) |
| 442 | #endif | 445 | #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 @@ | |||
| 1701 | USAGE_TFTP_BS( \ | 1701 | USAGE_TFTP_BS( \ |
| 1702 | "\t-b SIZE\tTransfer blocks of SIZE octets.\n" \ | 1702 | "\t-b SIZE\tTransfer blocks of SIZE octets.\n" \ |
| 1703 | ) | 1703 | ) |
| 1704 | #define time_trivial_usage \ | ||
| 1705 | "[OPTION]... COMMAND [ARGS...]" | ||
| 1706 | #define time_full_usage \ | ||
| 1707 | "Runs the program COMMAND with arguments ARGS. When COMMAND finishes,\n" | ||
| 1708 | "COMMAND's resource usage information is displayed\n\n" | ||
| 1709 | "Options:\n" \ | ||
| 1710 | "\t-v\tDisplays verbose resource usage information." | ||
| 1704 | 1711 | ||
| 1705 | #define touch_trivial_usage \ | 1712 | #define touch_trivial_usage \ |
| 1706 | "[-c] FILE [FILE ...]" | 1713 | "[-c] FILE [FILE ...]" |
