mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 16:55:11 +01:00
Add comment on installing cmd/ractool
This commit is contained in:
1 parent
7070a86512
commit
bed69b00c5
2 files changed
+50
-38
No files matched your search
+25
-19
@@ -18,7 +18,7 @@ package main
|
|||||||
|
|
||||||
const usageStr = `Usage:
|
const usageStr = `Usage:
|
||||||
|
|
||||||
ractool [flags] [input_filename]
|
ractool [flags] [input_filename]
|
||||||
|
|
||||||
If no input_filename is given, stdin is used. Either way, output is written to
|
If no input_filename is given, stdin is used. Either way, output is written to
|
||||||
stdout.
|
stdout.
|
||||||
@@ -59,30 +59,36 @@ The "256k" flag value means 256 kibibytes (262144 bytes). Similarly, "1m" and
|
|||||||
|
|
||||||
General Flags:
|
General Flags:
|
||||||
|
|
||||||
-decode
|
-decode
|
||||||
whether to decode the input
|
whether to decode the input
|
||||||
-encode
|
-encode
|
||||||
whether to encode the input
|
whether to encode the input
|
||||||
|
|
||||||
Decode-Related Flags:
|
Decode-Related Flags:
|
||||||
|
|
||||||
-drange
|
-drange
|
||||||
the "i:j" range to decompress, ":8" means the first 8 bytes
|
the "i:j" range to decompress, ":8" means the first 8 bytes
|
||||||
|
|
||||||
Encode-Related Flags:
|
Encode-Related Flags:
|
||||||
|
|
||||||
-cchunksize
|
-cchunksize
|
||||||
the chunk size (in CSpace)
|
the chunk size (in CSpace)
|
||||||
-codec
|
-codec
|
||||||
the compression codec (default "zlib")
|
the compression codec (default "zlib")
|
||||||
-cpagesize
|
-cpagesize
|
||||||
the page size (in CSpace)
|
the page size (in CSpace)
|
||||||
-dchunksize
|
-dchunksize
|
||||||
the chunk size (in DSpace)
|
the chunk size (in DSpace)
|
||||||
-indexlocation
|
-indexlocation
|
||||||
the index location, "start" or "end" (default "start")
|
the index location, "start" or "end" (default "start")
|
||||||
-resources
|
-resources
|
||||||
comma-separated list of resource files, such as shared dictionaries
|
comma-separated list of resource files, such as shared dictionaries
|
||||||
|
|
||||||
|
Installation:
|
||||||
|
|
||||||
|
Like any other implemented-in-Go program, to install the ractool program:
|
||||||
|
|
||||||
|
go get github.com/google/wuffs/cmd/ractool
|
||||||
|
|
||||||
Extended Example:
|
Extended Example:
|
||||||
|
|
||||||
|
|||||||
+25
-19
@@ -24,7 +24,7 @@ https://github.com/google/wuffs/blob/master/doc/spec/rac-spec.md
|
|||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
|
|
||||||
ractool [flags] [input_filename]
|
ractool [flags] [input_filename]
|
||||||
|
|
||||||
If no input_filename is given, stdin is used. Either way, output is written to
|
If no input_filename is given, stdin is used. Either way, output is written to
|
||||||
stdout.
|
stdout.
|
||||||
@@ -65,30 +65,36 @@ The "256k" flag value means 256 kibibytes (262144 bytes). Similarly, "1m" and
|
|||||||
|
|
||||||
General Flags:
|
General Flags:
|
||||||
|
|
||||||
-decode
|
-decode
|
||||||
whether to decode the input
|
whether to decode the input
|
||||||
-encode
|
-encode
|
||||||
whether to encode the input
|
whether to encode the input
|
||||||
|
|
||||||
Decode-Related Flags:
|
Decode-Related Flags:
|
||||||
|
|
||||||
-drange
|
-drange
|
||||||
the "i:j" range to decompress, ":8" means the first 8 bytes
|
the "i:j" range to decompress, ":8" means the first 8 bytes
|
||||||
|
|
||||||
Encode-Related Flags:
|
Encode-Related Flags:
|
||||||
|
|
||||||
-cchunksize
|
-cchunksize
|
||||||
the chunk size (in CSpace)
|
the chunk size (in CSpace)
|
||||||
-codec
|
-codec
|
||||||
the compression codec (default "zlib")
|
the compression codec (default "zlib")
|
||||||
-cpagesize
|
-cpagesize
|
||||||
the page size (in CSpace)
|
the page size (in CSpace)
|
||||||
-dchunksize
|
-dchunksize
|
||||||
the chunk size (in DSpace)
|
the chunk size (in DSpace)
|
||||||
-indexlocation
|
-indexlocation
|
||||||
the index location, "start" or "end" (default "start")
|
the index location, "start" or "end" (default "start")
|
||||||
-resources
|
-resources
|
||||||
comma-separated list of resource files, such as shared dictionaries
|
comma-separated list of resource files, such as shared dictionaries
|
||||||
|
|
||||||
|
Installation:
|
||||||
|
|
||||||
|
Like any other implemented-in-Go program, to install the ractool program:
|
||||||
|
|
||||||
|
go get github.com/google/wuffs/cmd/ractool
|
||||||
|
|
||||||
Extended Example:
|
Extended Example:
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user