From 753ed4c5741503ae64650fc21bc0fd3c523f7619 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 25 Apr 2010 00:34:58 -0700 Subject: [PATCH] Remove `vagrant down` (was deprecated in 0.3.0 to 0.3.2) --- lib/vagrant/commands/down.rb | 16 ---------------- templates/errors.yml | 3 --- 2 files changed, 19 deletions(-) delete mode 100644 lib/vagrant/commands/down.rb diff --git a/lib/vagrant/commands/down.rb b/lib/vagrant/commands/down.rb deleted file mode 100644 index 75e760c2b..000000000 --- a/lib/vagrant/commands/down.rb +++ /dev/null @@ -1,16 +0,0 @@ -module Vagrant - class Commands - # `vagrant down` is now `vagrant destroy` - class Down < Base - Base.subcommand "down", self - - def execute(args=[]) - error_and_exit(:command_deprecation_down) - end - - def options_spec(opts) - opts.banner = "Usage: vagrant down" - end - end - end -end \ No newline at end of file diff --git a/templates/errors.yml b/templates/errors.yml index ce08b9671..3798de95f 100644 --- a/templates/errors.yml +++ b/templates/errors.yml @@ -45,9 +45,6 @@ vagrant box add name uri vagrant box remove name vagrant box list -:command_deprecation_down: |- - `vagrant down` is now `vagrant destroy`. Please use that command instead. This - warning will be removed in future versions. :dotfile_error: |- The dotfile which Vagrant uses to store the UUID of the project's virtual machine already exists and is not a file! The dotfile is