Skip to content

Commit

Permalink
Fix multi-master setup help text (#2993)
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnasrinivas authored and harshavardhana committed Dec 9, 2019
1 parent 4482063 commit ea0a4b2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cmd/mirror-main.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ var (
},
cli.StringFlag{
Name: "multi-master",
Usage: "tag for multi master mode",
Usage: `multi-master multi-site setup, "value" is the site tag for the multi-master deployment`,
},
cli.StringSliceFlag{
Name: "exclude",
Expand Down Expand Up @@ -166,8 +166,9 @@ EXAMPLES:
14. Mirror a local folder recursively to Amazon S3 cloud storage and preserve all local file attributes.
{{.Prompt}} {{.HelpName}} -a backup/ s3/archive
15. Mirror from one site to another in a multi-master setup.
{{.Prompt}} {{.HelpName}} --watch --multi-master SITETAG site1/ site2/
15. Cross mirror between sites in a multi-master deployment.
Site-A: {{.Prompt}} {{.HelpName}} --watch --multi-master splunk-smartstore1 siteA siteB
Site-B: {{.Prompt}} {{.HelpName}} --watch --multi-master splunk-smartstore1 siteB siteA
`,
}

Expand Down

0 comments on commit ea0a4b2

Please sign in to comment.