summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-12-06 15:16:43 +0000
committerEric Andersen <andersen@codepoet.org>2001-12-06 15:16:43 +0000
commitc98c06233e8ac24ebf75ddae68f1f1a3a95a3bd1 (patch)
tree2529ea61e3d5d53420062d391a647995cfce4ca4 /include
parentb24d65659f193cd7497dfdae4d8aa1bc91dbf343 (diff)
downloadbusybox-w32-c98c06233e8ac24ebf75ddae68f1f1a3a95a3bd1.tar.gz
busybox-w32-c98c06233e8ac24ebf75ddae68f1f1a3a95a3bd1.tar.bz2
busybox-w32-c98c06233e8ac24ebf75ddae68f1f1a3a95a3bd1.zip
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 b543de1bc..ba0a9aaa9 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -71,6 +71,9 @@
71#ifdef CONFIG_BUNZIP2 71#ifdef CONFIG_BUNZIP2
72 APPLET(bzcat, bunzip2_main, _BB_DIR_USR_BIN) 72 APPLET(bzcat, bunzip2_main, _BB_DIR_USR_BIN)
73#endif 73#endif
74#ifdef CONFIG_CAL
75 APPLET(cal, cal_main, _BB_DIR_USR_BIN)
76#endif
74#ifdef CONFIG_CAT 77#ifdef CONFIG_CAT
75 APPLET(cat, cat_main, _BB_DIR_BIN) 78 APPLET(cat, cat_main, _BB_DIR_BIN)
76#endif 79#endif
diff --git a/include/usage.h b/include/usage.h
index 14d16561f..3475d99f0 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -63,6 +63,14 @@
63#define bzcat_full_usage \ 63#define bzcat_full_usage \
64 "Uncompress to stdout." 64 "Uncompress to stdout."
65 65
66#define cal_trivial_usage \
67 "[-jy] [[month] year]"
68#define cal_full_usage \
69 "Display a calendar.\n" \
70 "\nOptions:\n" \
71 "\t-j\tUse julian dates.\n" \
72 "\t-y\tDisplay the entire year."
73
66#define cat_trivial_usage \ 74#define cat_trivial_usage \
67 "[FILE]..." 75 "[FILE]..."
68#define cat_full_usage \ 76#define cat_full_usage \