flags.StringVarP(flagSet,&config.CacheDir,"cache-dir","",config.CacheDir,"Directory rclone will use for caching.")
flags.BoolVarP(flagSet,&fs.Config.CheckSum,"checksum","c",fs.Config.CheckSum,"Skip based on checksum & size, not mod-time & size")
flags.BoolVarP(flagSet,&fs.Config.SizeOnly,"size-only","",fs.Config.SizeOnly,"Skip based on size only, not mod-time or checksum")
flags.BoolVarP(flagSet,&fs.Config.IgnoreTimes,"ignore-times","I",fs.Config.IgnoreTimes,"Don't skip files that match size and time - transfer all files")
flags.BoolVarP(flagSet,&fs.Config.IgnoreExisting,"ignore-existing","",fs.Config.IgnoreExisting,"Skip all files that exist on destination")
flags.BoolVarP(flagSet,&dumpHeaders,"dump-headers","",false,"Dump HTTP bodies - may contain sensitive info")
flags.BoolVarP(flagSet,&dumpBodies,"dump-bodies","",false,"Dump HTTP headers and bodies - may contain sensitive info")
flags.BoolVarP(flagSet,&fs.Config.InsecureSkipVerify,"no-check-certificate","",fs.Config.InsecureSkipVerify,"Do not verify the server SSL certificate. Insecure.")
flags.BoolVarP(flagSet,&fs.Config.AskPassword,"ask-password","",fs.Config.AskPassword,"Allow prompt for password for encrypted configuration.")
flags.BoolVarP(flagSet,&deleteBefore,"delete-before","",false,"When synchronizing, delete files on destination before transfering")
flags.BoolVarP(flagSet,&deleteDuring,"delete-during","",false,"When synchronizing, delete files during transfer (default)")
flags.BoolVarP(flagSet,&deleteAfter,"delete-after","",false,"When synchronizing, delete files on destination after transfering")
flags.BoolVarP(flagSet,&fs.Config.TrackRenames,"track-renames","",fs.Config.TrackRenames,"When synchronizing, track file renames and do a server side move if possible")
flags.IntVarP(flagSet,&fs.Config.LowLevelRetries,"low-level-retries","",fs.Config.LowLevelRetries,"Number of low level retries to do.")
flags.BoolVarP(flagSet,&fs.Config.UpdateOlder,"update","u",fs.Config.UpdateOlder,"Skip files that are newer on the destination.")
flags.BoolVarP(flagSet,&fs.Config.UseServerModTime,"use-server-modtime","",fs.Config.UseServerModTime,"Use server modified time instead of object metadata")
flags.BoolVarP(flagSet,&fs.Config.NoUpdateModTime,"no-update-modtime","",fs.Config.NoUpdateModTime,"Don't update destination mod-time if files identical.")
flags.StringVarP(flagSet,&fs.Config.BackupDir,"backup-dir","",fs.Config.BackupDir,"Make backups into hierarchy based in DIR.")
flags.StringVarP(flagSet,&fs.Config.Suffix,"suffix","",fs.Config.Suffix,"Suffix for use with --backup-dir.")
flags.BoolVarP(flagSet,&fs.Config.UseListR,"fast-list","",fs.Config.UseListR,"Use recursive list if available. Uses more memory but fewer transactions.")
flags.Float64VarP(flagSet,&fs.Config.TPSLimit,"tpslimit","",fs.Config.TPSLimit,"Limit HTTP transactions per second to this.")
flags.IntVarP(flagSet,&fs.Config.TPSLimitBurst,"tpslimit-burst","",fs.Config.TPSLimitBurst,"Max burst of transactions for --tpslimit.")
flags.StringVarP(flagSet,&bindAddr,"bind","","","Local address to bind to for outgoing connections, IPv4, IPv6 or name.")
flags.StringVarP(flagSet,&disableFeatures,"disable","","","Disable a comma separated list of features. Use help to see a list.")
flags.StringVarP(flagSet,&fs.Config.UserAgent,"user-agent","",fs.Config.UserAgent,"Set the user-agent to a specified string. The default is rclone/ version")
flags.BoolVarP(flagSet,&fs.Config.Immutable,"immutable","",fs.Config.Immutable,"Do not modify files. Fail if existing files have been modified.")
flags.BoolVarP(flagSet,&fs.Config.AutoConfirm,"auto-confirm","",fs.Config.AutoConfirm,"If enabled, do not request console confirmation.")
flags.IntVarP(flagSet,&fs.Config.StatsFileNameLength,"stats-file-name-length","",fs.Config.StatsFileNameLength,"Max file name length in stats. 0 for no limit")
flags.FVarP(flagSet,&fs.Config.StatsLogLevel,"stats-log-level","","Log level to show --stats output DEBUG|INFO|NOTICE|ERROR")
flags.FVarP(flagSet,&fs.Config.BwLimit,"bwlimit","","Bandwidth limit in kBytes/s, or use suffix b|k|M|G or a full timetable.")
flags.FVarP(flagSet,&fs.Config.BufferSize,"buffer-size","","Buffer size when copying files.")
flags.FVarP(flagSet,&fs.Config.StreamingUploadCutoff,"streaming-upload-cutoff","","Cutoff for switching to chunked upload if file size is unknown. Upload starts after reaching cutoff or when file ends.")
flags.FVarP(flagSet,&fs.Config.Dump,"dump","","List of items to dump from: "+fs.DumpFlagsList)
}
// SetFlags converts any flags into config which weren't straight foward