From 3f8c3059a1f29a8af7a3f26e8474bfcd8ac12e01 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 19 Sep 2021 12:41:23 -0500 Subject: [PATCH] Tweak help text and todo list. --- toys/posix/patch.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/toys/posix/patch.c b/toys/posix/patch.c index f0aad4ee..656ef422 100644 --- a/toys/posix/patch.c +++ b/toys/posix/patch.c @@ -8,12 +8,11 @@ * TODO: * -b backup * -N ignore already applied - * -d chdir first * -D define wrap #ifdef and #ifndef around changes * -o outfile output here instead of in place * -r rejectfile write rejected hunks to this file - * * -E remove empty files --remove-empty-files + * git syntax (rename, etc) USE_PATCH(NEWTOY(patch, ">2(no-backup-if-mismatch)(dry-run)"USE_TOYBOX_DEBUG("x")"F#g#fulp#d:i:Rs(quiet)", TOYFLAG_USR|TOYFLAG_BIN)) @@ -21,7 +20,7 @@ config PATCH bool "patch" default y help - usage: patch [-d DIR] [-i PATCH] [-p DEPTH] [-F FUZZ] [-Rlsu] [--dry-run] [FILE [PATCH]] + usage: patch [-Rlsu] [-d DIR] [-i PATCH] [-p DEPTH] [-F FUZZ] [--dry-run] [FILE [PATCH]] Apply a unified diff to one or more files. -- 2.39.2