From d4f805e8001888dfab5ceede492709c14a14f105 Mon Sep 17 00:00:00 2001 From: Ryan Uber Date: Mon, 11 May 2015 09:42:26 -0700 Subject: [PATCH] command: fix configtest help format --- command/configtest.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/command/configtest.go b/command/configtest.go index 38c27a62d..fc35b79fe 100644 --- a/command/configtest.go +++ b/command/configtest.go @@ -19,7 +19,13 @@ func (c *ConfigTestCommand) Help() string { helpText := ` Usage: consul configtest [options] - Tests that config files are valid by attempting to parse them. Useful to ensure a configuration change will not cause consul to fail after a restart. + Performs a basic sanity test on Consul configuration files. For each file + or directory given, the configtest command will attempt to parse the + contents just as the "consul agent" command would, and catch any errors. + This is useful to do a test of the configuration only, without actually + starting the agent. + + Returns 0 if the configuration is valid, or 1 if there are problems. Options: