diff --git a/cmd/replicate-edit.go b/cmd/replicate-edit.go index 059b1b1b..f412cf44 100644 --- a/cmd/replicate-edit.go +++ b/cmd/replicate-edit.go @@ -42,7 +42,7 @@ var replicateEditFlags = []cli.Flag{ }, cli.StringFlag{ Name: "storage-class", - Usage: "storage class for destination (STANDARD_IA,REDUCED_REDUNDANCY etc)", + Usage: `storage class for destination, valid values are either "STANDARD" or "REDUCED_REDUNDANCY"`, }, cli.StringFlag{ Name: "state", @@ -58,7 +58,7 @@ var replicateEditFlags = []cli.Flag{ }, cli.StringFlag{ Name: "replicate", - Usage: "comma separated list to enable replication of delete markers, deletion of versioned objects and syncing replica metadata modifications.Valid options are \"delete-marker\", \"delete\",\"replica-metadata-sync\", \"existing-objects\" and \"\"", + Usage: `comma separated list to enable replication of soft deletes, permanent deletes, existing objects and metadata sync. Valid options are "delete-marker","delete","existing-objects","metadata-sync" and ""'`, }, } @@ -171,13 +171,13 @@ func mainReplicateEdit(cliCtx *cli.Context) error { dmReplicate = enableStatus case "delete": vDeleteReplicate = enableStatus - case "replica-metadata-sync": + case "metadata-sync", "replica-metadata-sync": replicasync = enableStatus case "existing-objects": existingReplState = enableStatus default: if opt != "" { - fatalIf(probe.NewError(fmt.Errorf("invalid value for --replicate flag %s", cliCtx.String("replicate"))), "--replicate flag takes one or more comma separated string with values \"delete, delete-marker, replica-metadata-sync\" or \"\"") + fatalIf(probe.NewError(fmt.Errorf("invalid value for --replicate flag %s", cliCtx.String("replicate"))), `--replicate flag takes one or more comma separated string with values "delete", "delete-marker", "metadata-sync", "existing-objects" or "" to disable these settings`) } } }