diff options
-rw-r--r-- | editors/cmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/cmp.c b/editors/cmp.c index 9eaff2b8e..6d2b0c6c3 100644 --- a/editors/cmp.c +++ b/editors/cmp.c | |||
@@ -36,7 +36,7 @@ static const char fmt_differ[] ALIGN1 = "%s %s differ: char %"OFF_FMT"u, line %u | |||
36 | // This fmt_l_opt uses gnu-isms. SUSv3 would be "%.0s%.0s%"OFF_FMT"u %o %o\n" | 36 | // This fmt_l_opt uses gnu-isms. SUSv3 would be "%.0s%.0s%"OFF_FMT"u %o %o\n" |
37 | static const char fmt_l_opt[] ALIGN1 = "%.0s%.0s%"OFF_FMT"u %3o %3o\n"; | 37 | static const char fmt_l_opt[] ALIGN1 = "%.0s%.0s%"OFF_FMT"u %3o %3o\n"; |
38 | 38 | ||
39 | #define OPT_STR "sln:" | 39 | #define OPT_STR "sln:+" |
40 | #define CMP_OPT_s (1<<0) | 40 | #define CMP_OPT_s (1<<0) |
41 | #define CMP_OPT_l (1<<1) | 41 | #define CMP_OPT_l (1<<1) |
42 | #define CMP_OPT_n (1<<2) | 42 | #define CMP_OPT_n (1<<2) |
@@ -56,7 +56,7 @@ int cmp_main(int argc UNUSED_PARAM, char **argv) | |||
56 | 56 | ||
57 | opt = getopt32(argv, "^" | 57 | opt = getopt32(argv, "^" |
58 | OPT_STR | 58 | OPT_STR |
59 | "\0" "-1:n+" | 59 | "\0" "-1" |
60 | IF_DESKTOP(":?4") | 60 | IF_DESKTOP(":?4") |
61 | IF_NOT_DESKTOP(":?2") | 61 | IF_NOT_DESKTOP(":?2") |
62 | ":l--s:s--l", | 62 | ":l--s:s--l", |