mirror of
https://github.com/simon987/imhashdb.git
synced 2025-12-16 07:49:04 +00:00
fix store flag
This commit is contained in:
14
cli/main.go
14
cli/main.go
@@ -89,13 +89,6 @@ func main() {
|
||||
EnvVars: []string{"IMHASHDB_QUERY_CONCURRENCY"},
|
||||
Destination: &Conf.QueryConcurrency,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "store",
|
||||
Value: "",
|
||||
Usage: "If set, store downloaded images there",
|
||||
EnvVars: []string{"IMHASHDB_STORE"},
|
||||
Destination: &Conf.Store,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -183,6 +176,13 @@ func main() {
|
||||
EnvVars: []string{"IMHASHDB_HASH_CONCURRENCY"},
|
||||
Destination: &Conf.HasherConcurrency,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "store",
|
||||
Value: "",
|
||||
Usage: "If set, store downloaded images there",
|
||||
EnvVars: []string{"IMHASHDB_STORE"},
|
||||
Destination: &Conf.Store,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user