aboutsummaryrefslogtreecommitdiff
path: root/editors/cmp.c
diff options
context:
space:
mode:
authorPere Orga <gotrunks@gmail.com>2011-04-01 22:56:30 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-04-03 01:33:55 +0200
commit6a3e01d5a9f979f7d6e52665c2bf6c74e2592980 (patch)
treeb7d40d6e0c6042f0d102101ff7b5784d2f0536ba /editors/cmp.c
parentfa9126e68904b16aee2a0fc47688ffe17403152a (diff)
downloadbusybox-w32-6a3e01d5a9f979f7d6e52665c2bf6c74e2592980.tar.gz
busybox-w32-6a3e01d5a9f979f7d6e52665c2bf6c74e2592980.tar.bz2
busybox-w32-6a3e01d5a9f979f7d6e52665c2bf6c74e2592980.zip
move help text from include/usage.src.h to debianutils/*.c e2fsprogs/*.c editors/*.c loginutils/*.c mailutils/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors/cmp.c')
-rw-r--r--editors/cmp.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/editors/cmp.c b/editors/cmp.c
index f84a56e3e..3a0f5aa4f 100644
--- a/editors/cmp.c
+++ b/editors/cmp.c
@@ -10,6 +10,15 @@
10/* BB_AUDIT SUSv3 (virtually) compliant -- uses nicer GNU format for -l. */ 10/* BB_AUDIT SUSv3 (virtually) compliant -- uses nicer GNU format for -l. */
11/* http://www.opengroup.org/onlinepubs/007904975/utilities/cmp.html */ 11/* http://www.opengroup.org/onlinepubs/007904975/utilities/cmp.html */
12 12
13//usage:#define cmp_trivial_usage
14//usage: "[-l] [-s] FILE1 [FILE2" IF_DESKTOP(" [SKIP1 [SKIP2]]") "]"
15//usage:#define cmp_full_usage "\n\n"
16//usage: "Compare FILE1 with FILE2 (or stdin)\n"
17//usage: "\nOptions:"
18//usage: "\n -l Write the byte numbers (decimal) and values (octal)"
19//usage: "\n for all differing bytes"
20//usage: "\n -s Quiet"
21
13#include "libbb.h" 22#include "libbb.h"
14 23
15static const char fmt_eof[] ALIGN1 = "cmp: EOF on %s\n"; 24static const char fmt_eof[] ALIGN1 = "cmp: EOF on %s\n";