summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGilles Espinasse2010-10-21 00:39:46 +0200
committerDenys Vlasenko2010-10-21 00:39:46 +0200
commitf0c7e0c8d53fc1cbbccf0b23c5e5242a9707c6e3 (patch)
tree18f0beabe1b0deb038d3ca07bfa2de267bf21f83 /include
parent2348e09557c5ff9cac134cfeeffd149f90a44971 (diff)
downloadbusybox-f0c7e0c8d53fc1cbbccf0b23c5e5242a9707c6e3.zip
busybox-f0c7e0c8d53fc1cbbccf0b23c5e5242a9707c6e3.tar.gz
patch: implement -E option
Signed-off-by: Gilles Espinasse <g.esp@free.fr> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/usage.src.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/usage.src.h b/include/usage.src.h
index 2445c1b..f5ddd7b 100644
--- a/include/usage.src.h
+++ b/include/usage.src.h
@@ -2857,17 +2857,19 @@ INSERT
"[OPTIONS] [ORIGFILE [PATCHFILE]]"
#define patch_full_usage "\n\n" \
IF_LONG_OPTS( \
- " -p,--strip N Strip N leading components from file names" \
- "\n -i,--input DIFF Read DIFF instead of stdin" \
- "\n -R,--reverse Reverse patch" \
- "\n -N,--forward Ignore already applied patches" \
- "\n --dry-run Don't actually change files" \
+ " -p,--strip N Strip N leading components from file names" \
+ "\n -i,--input DIFF Read DIFF instead of stdin" \
+ "\n -R,--reverse Reverse patch" \
+ "\n -N,--forward Ignore already applied patches" \
+ "\n --dry-run Don't actually change files" \
+ "\n -E,--remove-empty-files Remove output files if they become empty" \
) \
IF_NOT_LONG_OPTS( \
" -p N Strip N leading components from file names" \
"\n -i DIFF Read DIFF instead of stdin" \
"\n -R Reverse patch" \
"\n -N Ignore already applied patches" \
+ "\n -E Remove output files if they become empty" \
)
#define patch_example_usage \