mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
color
This commit is contained in:
@@ -9,6 +9,11 @@ import (
|
||||
"github.com/mitchellh/cli"
|
||||
)
|
||||
|
||||
const (
|
||||
// EnvNomadCLINoColor is an env var that toggles colored UI output.
|
||||
EnvNomadCLINoColor = `NOMAD_CLI_NO_COLOR`
|
||||
)
|
||||
|
||||
// DeprecatedCommand is a command that wraps an existing command and prints a
|
||||
// deprecation notice and points the user to the new command. Deprecated
|
||||
// commands are always hidden from help output.
|
||||
|
||||
@@ -181,7 +181,8 @@ func generalOptionsUsage() string {
|
||||
Defaults to the "default" namespace.
|
||||
|
||||
-no-color
|
||||
Disables colored command output.
|
||||
Disables colored command output. Alternatively, NOMAD_CLI_NO_COLOR may be
|
||||
set.
|
||||
|
||||
-ca-cert=<path>
|
||||
Path to a PEM encoded CA cert file to use to verify the
|
||||
|
||||
Reference in New Issue
Block a user