summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen2001-12-06 15:16:43 +0000
committerEric Andersen2001-12-06 15:16:43 +0000
commitc98c06233e8ac24ebf75ddae68f1f1a3a95a3bd1 (patch)
tree2529ea61e3d5d53420062d391a647995cfce4ca4 /include
parentb24d65659f193cd7497dfdae4d8aa1bc91dbf343 (diff)
downloadbusybox-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.h3
-rw-r--r--include/usage.h8
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 \