]> git.seodisparate.com - SimpleArchiver/commitdiff
Update README.md, usage text
authorStephen Seo <seo.disparate@gmail.com>
Tue, 8 Oct 2024 01:55:24 +0000 (10:55 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Tue, 8 Oct 2024 01:55:24 +0000 (10:55 +0900)
README.md
src/parser.c

index 7d4a7afcf1619416605a439aec4212a103fccbcf..ec456c3b048b09c537d7e2cbad9c97f135095817 100644 (file)
--- a/README.md
+++ b/README.md
@@ -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
index dd6383afd202ac7bad258e97eb8cfeb70f3b3254..31a9ea841d3fb51a9579af8ca8600a048da98bb8 100644 (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");