diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index bc5b36a..4ef5ed7 100644 --- a/include/applets.h +++ b/include/applets.h @@ -113,6 +113,9 @@ #ifdef CONFIG_CMP APPLET(cmp, cmp_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) #endif +#ifdef CONFIG_COMM + APPLET(comm, comm_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) +#endif #ifdef CONFIG_CP APPLET(cp, cp_main, _BB_DIR_BIN, _BB_SUID_NEVER) #endif diff --git a/include/usage.h b/include/usage.h index c68ae2e..ce8d407 100644 --- a/include/usage.h +++ b/include/usage.h @@ -222,6 +222,15 @@ "\t\t for all differing bytes\n" \ "\t-s\tquiet mode - do not print" +#define comm_trivial_usage \ + "[-123] FILE1 FILE2" +#define comm_full_usage \ + "Compare files. Compares FILE1 to FILE2, or to stdin if - is specified.\n\n" \ + "Options:\n" \ + "\t-1\tSuppress lines unique to FILE1\n" \ + "\t-2\tSuppress lines unique to FILE2\n" \ + "\t-3\tSuppress lines common to both files" + #define cp_trivial_usage \ "[OPTION]... SOURCE DEST" #define cp_full_usage \ |