diff options
author | Eric Andersen | 2001-12-06 15:16:43 +0000 |
---|---|---|
committer | Eric Andersen | 2001-12-06 15:16:43 +0000 |
commit | c98c06233e8ac24ebf75ddae68f1f1a3a95a3bd1 (patch) | |
tree | 2529ea61e3d5d53420062d391a647995cfce4ca4 /include | |
parent | b24d65659f193cd7497dfdae4d8aa1bc91dbf343 (diff) | |
download | busybox-c98c06233e8ac24ebf75ddae68f1f1a3a95a3bd1.zip busybox-c98c06233e8ac24ebf75ddae68f1f1a3a95a3bd1.tar.gz |
Merge in the cal applet from Steve Merrifield <steve@labyrinth.net.au>
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index b543de1..ba0a9aa 100644 --- a/include/applets.h +++ b/include/applets.h @@ -71,6 +71,9 @@ #ifdef CONFIG_BUNZIP2 APPLET(bzcat, bunzip2_main, _BB_DIR_USR_BIN) #endif +#ifdef CONFIG_CAL + APPLET(cal, cal_main, _BB_DIR_USR_BIN) +#endif #ifdef CONFIG_CAT APPLET(cat, cat_main, _BB_DIR_BIN) #endif diff --git a/include/usage.h b/include/usage.h index 14d1656..3475d99 100644 --- a/include/usage.h +++ b/include/usage.h @@ -63,6 +63,14 @@ #define bzcat_full_usage \ "Uncompress to stdout." +#define cal_trivial_usage \ + "[-jy] [[month] year]" +#define cal_full_usage \ + "Display a calendar.\n" \ + "\nOptions:\n" \ + "\t-j\tUse julian dates.\n" \ + "\t-y\tDisplay the entire year." + #define cat_trivial_usage \ "[FILE]..." #define cat_full_usage \ |