From fe1ce2e43e612d7b07118cf139a8b61d76bea893 Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Mon, 18 Jan 2010 16:07:07 -0200 Subject: diff: implement flag -B (Ignore changes whose lines are all blank) >>From 7c3ce93213590bd0592435dc27d1272d0fd3309b Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Mon, 18 Jan 2010 15:52:31 -0200 Subject: [PATCH] diff: implement flag -B (Ignore changes whose lines are all blank) function old new delta diffreg 1196 1240 +44 .rodata 6538 6561 +23 packed_usage 457 478 +21 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 88/0) Total: 88 bytes text data bss dec hex filename 70123 733 8576 79432 13648 busybox_old 70190 733 8576 79499 1368b busybox_unstripped Signed-off-by: Matheus Izvekov Signed-off-by: Denys Vlasenko --- include/usage.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/usage.h') diff --git a/include/usage.h b/include/usage.h index 168d6e1e5..7b8564278 100644 --- a/include/usage.h +++ b/include/usage.h @@ -852,13 +852,14 @@ "Relay DHCP requests between clients and server" \ #define diff_trivial_usage \ - "[-abdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2" + "[-abBdiNqrTstw] [-L LABEL] [-S FILE] [-U LINES] FILE1 FILE2" #define diff_full_usage "\n\n" \ "Compare files line by line and output the differences between them.\n" \ "This implementation supports unified diffs only.\n" \ "\nOptions:" \ "\n -a Treat all files as text" \ "\n -b Ignore changes in the amount of whitespace" \ + "\n -B Ignore changes whose lines are all blank" \ "\n -d Try hard to find a smaller set of changes" \ "\n -i Ignore case differences" \ "\n -L Use LABEL instead of the filename in the unified header" \ -- cgit v1.2.3