summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorLukas Huba <Huba.Lukas@centrum.cz>2010-10-21 00:43:00 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-10-21 00:43:00 +0200
commit08187356d7f6a79d5fb4aa83b90476997e585ad3 (patch)
tree18f0beabe1b0deb038d3ca07bfa2de267bf21f83 /include
parente7599d1cc7885017fa53955e257af248d183f2e3 (diff)
patch: implement -E option
Signed-off-by: Lukas Huba <Huba.Lukas@centrum.cz> 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 2445c1b9b..f5ddd7ba5 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 \