Compare commits

..
1 Commits
Author SHA1 Message Date
gmp 9b92e4787a Add LICENSE and README.md. Set default concurrency to the number of
CPUs, and read stdin if no input files are specified.
2020-04-02 16:07:05 -04:00
+1 -9
View File
@@ -4,21 +4,13 @@ A golang port of b3sum
This is a simple `b3sum` command using `github.com/zeebo/blake3`. This is a simple `b3sum` command using `github.com/zeebo/blake3`.
``` Usage:
go get git.wow.st/gmp/b3sum
go install git.wow.st/gmp/b3sum
```
## Usage:
```
b3sum [flags] [file]... b3sum [flags] [file]...
-h Prints help information -h Prints help information
-l int -l int
The number of output bytes, prior to hex encoding (default 32) The number of output bytes, prior to hex encoding (default 32)
-p int -p int
The maximum concurrency (defaults to the number of CPUs) The maximum concurrency (defaults to the number of CPUs)
```
If no input files are specified, `b3sum` reads `stdin`. If no input files are specified, `b3sum` reads `stdin`.