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>
This commit is contained in:
Denys Vlasenko
2009-08-20 23:33:19 +02:00
parent 0793491ff8
commit d7874ed1d4
2 changed files with 13 additions and 2 deletions

View File

@@ -3218,11 +3218,12 @@
)
#define patch_trivial_usage \
"[-p NUM] [-i DIFF] [-R]"
"[-p NUM] [-i DIFF] [-R] [-N]"
#define patch_full_usage "\n\n" \
" -p NUM Strip NUM leading components from file names" \
"\n -i DIFF Read DIFF instead of stdin" \
"\n -R Reverse patch" \
"\n -N Ignore already applied patches" \
#define patch_example_usage \
"$ patch -p1 < example.diff\n" \