---
 toys/posix/patch.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
From 404c8e2d3acc153fa69febecb85531f707ac5720 Mon Sep 17 00:00:00 2001
From: Elliott Hughes <[email protected]>
Date: Sat, 12 Jan 2019 09:04:48 -0800
Subject: [PATCH] patch: add -s to the synopsis line and fix typos.

---
 toys/posix/patch.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/toys/posix/patch.c b/toys/posix/patch.c
index 0241784b..f12f9183 100644
--- a/toys/posix/patch.c
+++ b/toys/posix/patch.c
@@ -24,12 +24,12 @@ config PATCH
   bool "patch"
   default y
   help
-    usage: patch [-d DIR] [-i file] [-p depth] [-Rlu] [--dry-run]
+    usage: patch [-d DIR] [-i file] [-p depth] [-Rlsu] [--dry-run]
 
     Apply a unified diff to one or more files.
 
     -d	Modify files in DIR
-    -i	Input file (defaults=stdin)
+    -i	Input file (default=stdin)
     -l	Loose match (ignore whitespace)
     -p	Number of '/' to strip from start of file paths (default=all)
     -R	Reverse patch
@@ -38,8 +38,8 @@ config PATCH
     --dry-run Don't change files, just confirm patch applies
 
     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 when 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 (or with a date <= the epoch) is
     created/deleted as appropriate.
-- 
2.20.1.97.g81188d93c3-goog

_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to