Skip to content

Commit

Permalink
MB-14150: Add filterExpression to help option
Browse files Browse the repository at this point in the history
Change-Id: Iad90de59fd6843966d3c35cd0220186cfb93e704
Reviewed-on: http://review.couchbase.org/48833
Reviewed-by: Bin Cui <bin.cui@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>
  • Loading branch information
bcui6611 committed Mar 27, 2015
1 parent 8a0eeb9 commit c7e7693
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xdcr.py
Expand Up @@ -617,6 +617,8 @@ def getCommandHelp(self, cmd):
replication_mode = [("--xdcr-replication-mode=[xmem|capi]",
"replication protocol, either capi or xmem.")]

regex = [("--filterExpression=[REGEX]",
"regular expression to filter replication streams")]
if cmd == "setting-xdcr":
return (chkpoint_interval + worker_bat_size +
doc_bat_size + failure_restart + opt_rep_theshold +
Expand All @@ -631,7 +633,7 @@ def getCommandHelp(self, cmd):
xdcr_settings + replicator_id + from_bucket + to_bucket +
chkpoint_interval + worker_bat_size + doc_bat_size + failure_restart +
opt_rep_theshold + src_nozzle_node + tgt_nozzle_node + max_replication_log +
timeout_perc_cap + log_level + stats_interval + replication_mode)
timeout_perc_cap + log_level + stats_interval + replication_mode+ regex)
else:
return None

0 comments on commit c7e7693

Please sign in to comment.