diff --git a/CHANGELOG.md b/CHANGELOG.md index f345f91dd..8b24816a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,8 @@ IMPROVEMENTS: - core: Support resumable downloads [GH-57] - core: owner/group of shared folders can be specified by integers. [GH-2390] + - core: the VAGRANT\_NO\_COLOR environmental variable may be used to enable + `--no-color` mode globally. [GH-2261] - commands/init: Add `--output` option for specifing output path, or "-" for stdin. [GH-1364] - commands/provision: Add `--no-parallel` option to disable provider diff --git a/bin/vagrant b/bin/vagrant index d92ce936c..a0ea90f3d 100755 --- a/bin/vagrant +++ b/bin/vagrant @@ -35,7 +35,7 @@ opts = {} # * STDOUT is not a TTY # * The terminal doesn't support colors (Windows) # -if ARGV.include?("--no-color") or ENV["VAGRANT_NOCOLOR"] +if ARGV.include?("--no-color") || ENV["VAGRANT_NO_COLOR"] # Delete the argument from the list so that it doesn't # cause any invalid arguments down the road. ARGV.delete("--no-color")