From c98c06233e8ac24ebf75ddae68f1f1a3a95a3bd1 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 6 Dec 2001 15:16:43 +0000 Subject: Merge in the cal applet from Steve Merrifield --- include/applets.h | 3 +++ include/usage.h | 8 ++++++++ 2 files changed, 11 insertions(+) (limited to 'include') 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 @@ #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 14d16561f..3475d99f0 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 \ -- cgit v1.2.3