From f0c7e0c8d53fc1cbbccf0b23c5e5242a9707c6e3 Mon Sep 17 00:00:00 2001 From: Gilles Espinasse Date: Thu, 21 Oct 2010 00:39:46 +0200 Subject: patch: implement -E option Signed-off-by: Gilles Espinasse Signed-off-by: Denys Vlasenko --- include/usage.src.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'include/usage.src.h') 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