Handle file import digest
This commit is contained in:
parent
0b4e8a233c
commit
1bd403cd8c
4 changed files with 43 additions and 10 deletions
|
@ -31,6 +31,7 @@ func main() {
|
|||
flag.StringVar(&api.CloudUsername, "clouduser", "fic", "Username used to sync")
|
||||
flag.StringVar(&api.CloudPassword, "cloudpass", "", "Password used to sync")
|
||||
flag.BoolVar(&api.RapidImport, "rapidimport", false, "Don't try to reimport an existing file")
|
||||
flag.BoolVar(&fic.OptionalDigest, "optionaldigest", false, "Is the digest required when importing files?")
|
||||
flag.Parse()
|
||||
|
||||
log.SetPrefix("[admin] ")
|
||||
|
|
Reference in a new issue