Add -no-color to help text

This commit is contained in:
Radek Simko 2015-06-22 13:14:01 +01:00
parent cdcd11419e
commit b7d41d2eed
10 changed files with 22 additions and 1 deletions

View File

@ -77,6 +77,8 @@ Options:
-update=false If true, modules already downloaded will be checked -update=false If true, modules already downloaded will be checked
for updates and updated if necessary. for updates and updated if necessary.
-no-color If specified, output won't contain any color.
` `
return strings.TrimSpace(helpText) return strings.TrimSpace(helpText)
} }

View File

@ -103,6 +103,9 @@ Options:
-verbose Generate a verbose, "worst-case" graph, with all nodes -verbose Generate a verbose, "worst-case" graph, with all nodes
for potential operations in place. for potential operations in place.
-no-color If specified, output won't contain any color.
` `
return strings.TrimSpace(helpText) return strings.TrimSpace(helpText)
} }

View File

@ -149,6 +149,8 @@ Options:
-backend-config="k=v" Specifies configuration for the remote storage -backend-config="k=v" Specifies configuration for the remote storage
backend. This can be specified multiple times. backend. This can be specified multiple times.
-no-color If specified, output won't contain any color.
` `
return strings.TrimSpace(helpText) return strings.TrimSpace(helpText)
} }

View File

@ -94,6 +94,8 @@ Options:
-state=path Path to the state file to read. Defaults to -state=path Path to the state file to read. Defaults to
"terraform.tfstate". "terraform.tfstate".
-no-color If specified, output won't contain any color.
` `
return strings.TrimSpace(helpText) return strings.TrimSpace(helpText)
} }

View File

@ -189,7 +189,6 @@ Options:
-var-file=foo Set variables in the Terraform configuration from -var-file=foo Set variables in the Terraform configuration from
a file. If "terraform.tfvars" is present, it will be a file. If "terraform.tfvars" is present, it will be
automatically loaded if this flag is not specified. automatically loaded if this flag is not specified.
` `
return strings.TrimSpace(helpText) return strings.TrimSpace(helpText)
} }

View File

@ -221,6 +221,8 @@ Options:
-vcs=true If true (default), push will upload only files -vcs=true If true (default), push will upload only files
comitted to your VCS, if detected. comitted to your VCS, if detected.
-no-color If specified, output won't contain any color.
` `
return strings.TrimSpace(helpText) return strings.TrimSpace(helpText)
} }

View File

@ -42,6 +42,10 @@ Usage: terraform remote <subcommand> [options]
Configure remote state storage with Terraform. Configure remote state storage with Terraform.
Options:
-no-color If specified, output won't contain any color.
Available subcommands: Available subcommands:
config Configure the remote storage settings. config Configure the remote storage settings.

View File

@ -368,6 +368,8 @@ Options:
-state=path Path to read state. Defaults to "terraform.tfstate" -state=path Path to read state. Defaults to "terraform.tfstate"
unless remote state is enabled. unless remote state is enabled.
-no-color If specified, output won't contain any color.
` `
return strings.TrimSpace(helpText) return strings.TrimSpace(helpText)
} }

View File

@ -74,6 +74,9 @@ Usage: terraform pull [options]
Refreshes the cached state file from the remote server. Refreshes the cached state file from the remote server.
Options:
-no-color If specified, output won't contain any color.
` `
return strings.TrimSpace(helpText) return strings.TrimSpace(helpText)
} }

View File

@ -81,6 +81,8 @@ Usage: terraform push [options]
Options: Options:
-no-color If specified, output won't contain any color.
-force Forces the upload of the local state, ignoring any -force Forces the upload of the local state, ignoring any
conflicts. This should be used carefully, as force pushing conflicts. This should be used carefully, as force pushing
can cause remote state information to be lost. can cause remote state information to be lost.