This commit is contained in:
2025-10-17 13:13:18 +03:00
parent 2bbcca5253
commit 0f645d0689

View File

@@ -2,7 +2,7 @@
A partial update program. Use [Zstandrard](https://github.com/facebook/zstd). A partial update program. Use [Zstandrard](https://github.com/facebook/zstd).
`zsdiff` products a [filename].zdiff file. It compares ALL file hashes from old with new. `zsdiff` products a [filename].zdiff file and [filename].zdiff.md5. It compares ALL file hashes from old with new.
``` ```
Usage: zsdiff [OPTIONS] --filename <FILENAME> --old <OLD> --new <NEW> Usage: zsdiff [OPTIONS] --filename <FILENAME> --old <OLD> --new <NEW>
@@ -16,7 +16,8 @@ Options:
``` ```
`zspatch` extract files from [filename].zdiff to [dest-dir]. If some file was deleted between old and new, `zspatch` `zspatch` extract files from [filename].zdiff to [dest-dir]. If some file was deleted between old and new, `zspatch`
also delete it from [dest-dir] also delete it from [dest-dir].
Flag --hash-check compare computed hash of [filename].zdiff and hash from [filename].zdiff.md5
``` ```
Usage: zspatch [OPTIONS] --filename <FILENAME> --dest-dir <DEST_DIR> Usage: zspatch [OPTIONS] --filename <FILENAME> --dest-dir <DEST_DIR>
@@ -25,5 +26,5 @@ Options:
-f, --filename <FILENAME> -f, --filename <FILENAME>
-d, --dest-dir <DEST_DIR> -d, --dest-dir <DEST_DIR>
-h, --hash-check -h, --hash-check
-h, --help Print help --help Print help
``` ```