Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix multi-master setup help text #2993

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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