From 08187356d7f6a79d5fb4aa83b90476997e585ad3 Mon Sep 17 00:00:00 2001 From: Lukas Huba Date: Thu, 21 Oct 2010 00:43:00 +0200 Subject: patch: implement -E option Signed-off-by: Lukas Huba Signed-off-by: Denys Vlasenko --- include/usage.src.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'include') 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 \ -- cgit v1.2.3