Update README.md, usage text
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 6s

This commit is contained in:
Stephen Seo 2024-10-08 10:55:24 +09:00
parent bef9c37d72
commit 62195c4d7d
2 changed files with 6 additions and 4 deletions

View file

@ -20,8 +20,8 @@ API calls.
Use "-f -" to work on stdout when creating archive or stdin when reading archive
NOTICE: "-f" is not affected by "-C"!
-C <dir> : Change current working directory before archiving/extracting
--compressor <full_compress_cmd> : requires --decompressor
--decompressor <full_decompress_cmd> : requires --compressor
--compressor <full_compress_cmd> : requires --decompressor and cmd must use stdin/stdout
--decompressor <full_decompress_cmd> : requires --compressor and cmd must use stdin/stdout
Specifying "--decompressor" when extracting overrides archive file's stored decompressor cmd
--overwrite-create : allows overwriting an archive file
--overwrite-extract : allows overwriting when extracting

View file

@ -156,9 +156,11 @@ void simple_archiver_print_usage(void) {
"-C <dir> : Change current working directory before "
"archiving/extracting\n");
fprintf(stderr,
"--compressor <full_compress_cmd> : requires --decompressor\n");
"--compressor <full_compress_cmd> : requires --decompressor and cmd "
"must use stdin/stdout\n");
fprintf(stderr,
"--decompressor <full_decompress_cmd> : requires --compressor\n");
"--decompressor <full_decompress_cmd> : requires --compressor and "
"cmd must use stdin/stdout\n");
fprintf(stderr,
" Specifying \"--decompressor\" when extracting overrides archive "
"file's stored decompressor cmd\n");