aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2008-01-05 18:08:17 -0600
committerRob Landley <rob@landley.net>2008-01-05 18:08:17 -0600
commitdaa1d3cb547ba011aae449dfded417ac37329d03 (patch)
treed57b29ac011bbb93c858603af1a676112cd46bae /toys
parenta45173b3ef2536a45a1a283ae4e709affe405513 (diff)
downloadtoybox-daa1d3cb547ba011aae449dfded417ac37329d03.tar.gz
A bit more documentation on Patch.
Diffstat (limited to 'toys')
-rw-r--r--toys/Config.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/toys/Config.in b/toys/Config.in
index ee5f3b77..0539c1c4 100644
--- a/toys/Config.in
+++ b/toys/Config.in
@@ -286,8 +286,11 @@ config PATCH
-R Reverse patch.
-u Ignored (only handles "unified" diffs)
- If a hunk fails to apply to a file, patch discards all changes to
- that file and prints the failed hunk to stderr.
+ This version of patch only handles unified diffs, and only modifies
+ a file when all all hunks to that file apply. Patch prints failed
+ hunks to stderr, and exits with nonzero status if any hunks fail.
+
+ A file compared against /dev/null is created/deleted as appropriate.
config PWD
bool "pwd"