diff options
| author | Mirek Kratochvil <miroslav.kratochvil@uni.lu> | 2025-07-23 11:15:33 +0200 |
|---|---|---|
| committer | Mirek Kratochvil <miroslav.kratochvil@uni.lu> | 2025-07-23 11:18:27 +0200 |
| commit | 8f9677e40fe7e8e23d07da0b06be04ed10d3f649 (patch) | |
| tree | 524b9f7002412481e4c205aa33fc9a31b06374a3 /README.md | |
| parent | b52b106ac50a0100e41843e2bd2edcbb74a10b6e (diff) | |
| download | werge-8f9677e40fe7e8e23d07da0b06be04ed10d3f649.tar.gz werge-8f9677e40fe7e8e23d07da0b06be04ed10d3f649.tar.bz2 | |
improve the patch subcommand a little
closes https://github.com/exaexa/werge/issues/1
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 ``` |
