admin: new argument --rapidimport to speed up the import but don't ensure consistency
This commit is contained in:
parent
3636002549
commit
4cea4a4aa0
2 changed files with 9 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ func main() {
|
|||
"Base directory where found challenges files, cloud part")
|
||||
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.Parse()
|
||||
|
||||
log.SetPrefix("[admin] ")
|
||||
|
|
|
|||
Reference in a new issue