Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

Commit

Permalink
Update Usage and README with exact number of routines for particular …
Browse files Browse the repository at this point in the history
…system

Signed-off-by: Igor Shishkin <me@teran.ru>
  • Loading branch information
teran committed Oct 18, 2017
1 parent 0e85789 commit ba0a916
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Print or check image Average hashes
-check
read average hashes from the FILEs and check them
-concurrency
Amount of routines to spawn at the same time(CPU count by default)
Amount of routines to spawn at the same time(8 by default for your system)
-find-duplicates
read average hashes from the FILEs and find duplicates
-json-input
Expand Down
2 changes: 1 addition & 1 deletion src/imgsum/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func main() {
fmt.Printf(" -check\n")
fmt.Printf(" read average hashes from the FILEs and check them\n")
fmt.Printf(" -concurrency\n")
fmt.Printf(" Amount of routines to spawn at the same time(CPU count by default)\n")
fmt.Printf(" Amount of routines to spawn at the same time(%v by default for your system)\n", runtime.NumCPU())
fmt.Printf(" -find-duplicates\n")
fmt.Printf(" read average hashes from the FILEs and find duplicates\n")
fmt.Printf(" -json-input\n")
Expand Down

0 comments on commit ba0a916

Please sign in to comment.