浏览代码

[FEATURE] Support Vagrant 1.6 version command

Vagrant 1.6 introduces a couple new commands, including the `version` command.
The `version` command shows the currently installed version information and
also checks for new updates available.
Ingo Renner 11 年之前
父节点
当前提交
236c8de7f3
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      plugins/vagrant/_vagrant

+ 1 - 0
plugins/vagrant/_vagrant

@@ -19,6 +19,7 @@ _1st_arguments=(
     'status:Shows the status of the current Vagrant environment.'
     'status:Shows the status of the current Vagrant environment.'
     'suspend:Suspends the currently running vagrant environment'
     'suspend:Suspends the currently running vagrant environment'
     'up:Creates the vagrant environment'
     'up:Creates the vagrant environment'
+    'version:Prints the currently installed Vagrant version and checks for new updates'
     '--help:[TASK] Describe available tasks or one specific task'
     '--help:[TASK] Describe available tasks or one specific task'
     '--version:Prints the Vagrant version information'
     '--version:Prints the Vagrant version information'
 )
 )