From 8f9677e40fe7e8e23d07da0b06be04ed10d3f649 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Wed, 23 Jul 2025 11:15:33 +0200 Subject: improve the patch subcommand a little closes https://github.com/exaexa/werge/issues/1 --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index e4b9398..62a32bc 100644 --- a/README.md +++ b/README.md @@ -279,12 +279,15 @@ Available options: #### Patching files in place ``` -Usage: werge patch MYFILE +Usage: werge patch (MYFILE | (-f|--format)) [-p|--patch PATCH] - Apply a patch from `diff' to file + Modify a file using a patch from `diff' Available options: - MYFILE File to be modified + MYFILE File to be patched + -f,--format Do not patch anything, only format the patch using + conflict marks on joined tokens + -p,--patch PATCH File with the patch (default: stdin) -h,--help Show this help text ``` -- cgit v1.2.3