aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/usage.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/include/usage.h b/include/usage.h
index d03ec2295..85561c558 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -898,7 +898,7 @@
898 "\n -d Daemonize" \ 898 "\n -d Daemonize" \
899 899
900#define dos2unix_trivial_usage \ 900#define dos2unix_trivial_usage \
901 "[OPTION] [FILE]" 901 "[OPTIONS] [FILE]"
902#define dos2unix_full_usage "\n\n" \ 902#define dos2unix_full_usage "\n\n" \
903 "Convert FILE in-place from DOS to Unix format.\n" \ 903 "Convert FILE in-place from DOS to Unix format.\n" \
904 "When no file is given, use stdin/stdout.\n" \ 904 "When no file is given, use stdin/stdout.\n" \
@@ -907,7 +907,7 @@
907 "\n -d unix2dos" \ 907 "\n -d unix2dos" \
908 908
909#define unix2dos_trivial_usage \ 909#define unix2dos_trivial_usage \
910 "[OPTION] [FILE]" 910 "[OPTIONS] [FILE]"
911#define unix2dos_full_usage "\n\n" \ 911#define unix2dos_full_usage "\n\n" \
912 "Convert FILE in-place from Unix to DOS format.\n" \ 912 "Convert FILE in-place from Unix to DOS format.\n" \
913 "When no file is given, use stdin/stdout.\n" \ 913 "When no file is given, use stdin/stdout.\n" \
@@ -3250,12 +3250,21 @@
3250 ) 3250 )
3251 3251
3252#define patch_trivial_usage \ 3252#define patch_trivial_usage \
3253 "[-p NUM] [-i DIFF] [-R] [-N]" 3253 "[OPTIONS] [ORIGFILE [PATCHFILE]]"
3254#define patch_full_usage "\n\n" \ 3254#define patch_full_usage "\n\n" \
3255 IF_LONG_OPTS( \
3256 " -p,--strip NUM Strip NUM leading components from file names" \
3257 "\n -i,--input DIFF Read DIFF instead of stdin" \
3258 "\n -R,--reverse Reverse patch" \
3259 "\n -N,--forward Ignore already applied patches" \
3260 "\n --dry-run Don't actually change files" \
3261 ) \
3262 IF_NOT_LONG_OPTS( \
3255 " -p NUM Strip NUM leading components from file names" \ 3263 " -p NUM Strip NUM leading components from file names" \
3256 "\n -i DIFF Read DIFF instead of stdin" \ 3264 "\n -i DIFF Read DIFF instead of stdin" \
3257 "\n -R Reverse patch" \ 3265 "\n -R Reverse patch" \
3258 "\n -N Ignore already applied patches" \ 3266 "\n -N Ignore already applied patches" \
3267 )
3259 3268
3260#define patch_example_usage \ 3269#define patch_example_usage \
3261 "$ patch -p1 < example.diff\n" \ 3270 "$ patch -p1 < example.diff\n" \