6210e22ab5
Fixes #118 Co-authored-by: Chris Nelson <stuff@cjnaz.com>
26 lines
442 B
Go
26 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
|
|
`)
|