diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-20 23:33:19 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-20 23:33:19 +0200 |
commit | d7874ed1d498454b3c7342f9e6df0aacb9873186 (patch) | |
tree | 424e75417b35ccd42cfcfb6ce9c0e519f8dd9c2f /include | |
parent | 0793491ff884bbb70b51c2b05c42d5dad60bcc5f (diff) | |
download | busybox-w32-d7874ed1d498454b3c7342f9e6df0aacb9873186.tar.gz busybox-w32-d7874ed1d498454b3c7342f9e6df0aacb9873186.tar.bz2 busybox-w32-d7874ed1d498454b3c7342f9e6df0aacb9873186.zip |
patch: support -N. By Olivier Duclos (olivier.duclos AT gmail.com)
function old new delta
packed_usage 26646 26656 +10
patch_main 1101 1110 +9
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h index accda3341..81ddbd23c 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -3218,11 +3218,12 @@ | |||
3218 | ) | 3218 | ) |
3219 | 3219 | ||
3220 | #define patch_trivial_usage \ | 3220 | #define patch_trivial_usage \ |
3221 | "[-p NUM] [-i DIFF] [-R]" | 3221 | "[-p NUM] [-i DIFF] [-R] [-N]" |
3222 | #define patch_full_usage "\n\n" \ | 3222 | #define patch_full_usage "\n\n" \ |
3223 | " -p NUM Strip NUM leading components from file names" \ | 3223 | " -p NUM Strip NUM leading components from file names" \ |
3224 | "\n -i DIFF Read DIFF instead of stdin" \ | 3224 | "\n -i DIFF Read DIFF instead of stdin" \ |
3225 | "\n -R Reverse patch" \ | 3225 | "\n -R Reverse patch" \ |
3226 | "\n -N Ignore already applied patches" \ | ||
3226 | 3227 | ||
3227 | #define patch_example_usage \ | 3228 | #define patch_example_usage \ |
3228 | "$ patch -p1 < example.diff\n" \ | 3229 | "$ patch -p1 < example.diff\n" \ |