fix store flag

This commit is contained in:
2020-05-30 15:41:50 -04:00
parent a25b5072a4
commit 46081a8355
2 changed files with 12 additions and 9 deletions

View File

@@ -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,
},
},
},
},