forked from TrueCloudLab/rclone
Pass flags on to fs.Config
This commit is contained in:
parent
37d59db94e
commit
025e5f3f0c
1 changed files with 7 additions and 0 deletions
|
@ -518,6 +518,13 @@ func main() {
|
|||
args := flag.Args()
|
||||
runtime.GOMAXPROCS(runtime.NumCPU())
|
||||
|
||||
// Pass on some flags to fs.Config
|
||||
fs.Config.Verbose = *verbose
|
||||
fs.Config.Quiet = *quiet
|
||||
fs.Config.ModifyWindow = *modifyWindow
|
||||
fs.Config.Checkers = *checkers
|
||||
fs.Config.Transfers = *transfers
|
||||
|
||||
// Setup profiling if desired
|
||||
if *cpuprofile != "" {
|
||||
f, err := os.Create(*cpuprofile)
|
||||
|
|
Loading…
Reference in a new issue