Skip to content

Commit

Permalink
Merge pull request #453 from bcantoni/fix-updatedseconf
Browse files Browse the repository at this point in the history
Fix updatedseconf command
  • Loading branch information
ptnapoleon committed Feb 10, 2016
2 parents f2c0055 + 0361940 commit 5979289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ccmlib/cmds/cluster_cmds.py
Original file line number Diff line number Diff line change
Expand Up @@ -731,8 +731,8 @@ def description(self):

def get_parser(self):
usage = "usage: ccm updatedseconf [options] [ new_setting | ... ], where new_setting should be a string of the form 'max_solr_concurrency_per_core: 2'; nested options can be separated with a period like 'cql_slow_log_options.enabled: true'"
parser.add_option('-y', '--yaml', action="store_true", dest="literal_yaml", default=False, help="Pass in literal yaml string. Option syntax looks like ccm updateconf -y 'a: [b: [c,d]]'")
parser = self._get_default_parser(usage, self.description())
parser.add_option('-y', '--yaml', action="store_true", dest="literal_yaml", default=False, help="Pass in literal yaml string. Option syntax looks like ccm updateconf -y 'a: [b: [c,d]]'")
return parser

def validate(self, parser, options, args):
Expand Down

0 comments on commit 5979289

Please sign in to comment.