Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

Add synopsis for help/list-commands (fixes #235) #236

Merged
merged 1 commit into from Oct 24, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions lib/vagrant-vbguest/vagrant_compat/vagrant_1_1/command.rb
Expand Up @@ -7,6 +7,11 @@ class Command < Vagrant.plugin("2", :command)
include CommandCommons
include VagrantPlugins::CommandUp::StartMixins

# Show description when `vagrant list-commands` is triggered
def self.synopsis
"plugin: vagrant-vbguest: install VirtualBox Guest Additions to the machine"
end

def check_runable_on(vm)
raise Vagrant::Errors::VMNotCreatedError if vm.state.id == :not_created
raise Vagrant::Errors::VMInaccessible if vm.state.id == :inaccessible
Expand Down