mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 16:34:30 +01:00
6210e22ab5
Fixes #118 Co-authored-by: Chris Nelson <stuff@cjnaz.com>
27 lines
442 B
Go
27 lines
442 B
Go
package bisync
|
|
|
|
import (
|
|
"strconv"
|
|
"strings"
|
|
)
|
|
|
|
func makeHelp(help string) string {
|
|
replacer := strings.NewReplacer(
|
|
"|", "`",
|
|
"{MAXDELETE}", strconv.Itoa(DefaultMaxDelete),
|
|
"{CHECKFILE}", DefaultCheckFilename,
|
|
"{WORKDIR}", DefaultWorkdir,
|
|
)
|
|
return replacer.Replace(help)
|
|
}
|
|
|
|
var shortHelp = `Perform bidirectonal synchronization between two paths.`
|
|
|
|
var rcHelp = makeHelp(`
|
|
TODO
|
|
`)
|
|
|
|
var longHelp = shortHelp + makeHelp(`
|
|
TODO
|
|
`)
|