diff options
author | Lukas Huba <Huba.Lukas@centrum.cz> | 2010-10-21 00:43:00 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-10-21 00:43:00 +0200 |
commit | 08187356d7f6a79d5fb4aa83b90476997e585ad3 (patch) | |
tree | 18f0beabe1b0deb038d3ca07bfa2de267bf21f83 /include | |
parent | e7599d1cc7885017fa53955e257af248d183f2e3 (diff) | |
download | busybox-w32-08187356d7f6a79d5fb4aa83b90476997e585ad3.tar.gz busybox-w32-08187356d7f6a79d5fb4aa83b90476997e585ad3.tar.bz2 busybox-w32-08187356d7f6a79d5fb4aa83b90476997e585ad3.zip |
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.h | 12 |
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 | |||
2857 | "[OPTIONS] [ORIGFILE [PATCHFILE]]" | 2857 | "[OPTIONS] [ORIGFILE [PATCHFILE]]" |
2858 | #define patch_full_usage "\n\n" \ | 2858 | #define patch_full_usage "\n\n" \ |
2859 | IF_LONG_OPTS( \ | 2859 | IF_LONG_OPTS( \ |
2860 | " -p,--strip N Strip N leading components from file names" \ | 2860 | " -p,--strip N Strip N leading components from file names" \ |
2861 | "\n -i,--input DIFF Read DIFF instead of stdin" \ | 2861 | "\n -i,--input DIFF Read DIFF instead of stdin" \ |
2862 | "\n -R,--reverse Reverse patch" \ | 2862 | "\n -R,--reverse Reverse patch" \ |
2863 | "\n -N,--forward Ignore already applied patches" \ | 2863 | "\n -N,--forward Ignore already applied patches" \ |
2864 | "\n --dry-run Don't actually change files" \ | 2864 | "\n --dry-run Don't actually change files" \ |
2865 | "\n -E,--remove-empty-files Remove output files if they become empty" \ | ||
2865 | ) \ | 2866 | ) \ |
2866 | IF_NOT_LONG_OPTS( \ | 2867 | IF_NOT_LONG_OPTS( \ |
2867 | " -p N Strip N leading components from file names" \ | 2868 | " -p N Strip N leading components from file names" \ |
2868 | "\n -i DIFF Read DIFF instead of stdin" \ | 2869 | "\n -i DIFF Read DIFF instead of stdin" \ |
2869 | "\n -R Reverse patch" \ | 2870 | "\n -R Reverse patch" \ |
2870 | "\n -N Ignore already applied patches" \ | 2871 | "\n -N Ignore already applied patches" \ |
2872 | "\n -E Remove output files if they become empty" \ | ||
2871 | ) | 2873 | ) |
2872 | 2874 | ||
2873 | #define patch_example_usage \ | 2875 | #define patch_example_usage \ |