aboutsummaryrefslogtreecommitdiff
path: root/toys/Config.in
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-12-15 21:47:25 -0600
committerRob Landley <rob@landley.net>2007-12-15 21:47:25 -0600
commitbc07865a504c291b9c88e41b3481ee6b44334b4d (patch)
tree591494c428601e5324d91814cbcb690e4e530ba6 /toys/Config.in
parent4e68de1ef854fadd74fcb63c3a5ad15dce457a4c (diff)
downloadtoybox-bc07865a504c291b9c88e41b3481ee6b44334b4d.tar.gz
Start of "patch" support. Writes to stdout at the moment.
Diffstat (limited to 'toys/Config.in')
-rw-r--r--toys/Config.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/toys/Config.in b/toys/Config.in
index 8f2cf6c5..3d1b168d 100644
--- a/toys/Config.in
+++ b/toys/Config.in
@@ -273,6 +273,19 @@ config ONEIT
own session. Then oneit reaps zombies until the child exits, at
which point it reboots (or with -p, powers off) the system.
+config PATCH
+ bool "patch"
+ default n
+ help
+ usage: patch [-i file] [-p depth] [-Ru]
+
+ Apply a unified diff to one or more files.
+
+ -i Input file (defaults=stdin)
+ -p number of '/' to strip from start of file paths (default=all)
+ -R Reverse patch.
+ -u Ignored (only handles "unified" diffs)
+
config PWD
bool "pwd"
default y