From f81fc562f3d18a172e8d83a3f28290c33c51d6bb Mon Sep 17 00:00:00 2001 From: axisthemes Date: Tue, 8 Jul 2014 10:06:44 +0545 Subject: [PATCH] Show description for hostmanager when vagrant list-commands is triggered --- lib/vagrant-hostmanager/command.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/vagrant-hostmanager/command.rb b/lib/vagrant-hostmanager/command.rb index 535e0d9..a23a91b 100644 --- a/lib/vagrant-hostmanager/command.rb +++ b/lib/vagrant-hostmanager/command.rb @@ -3,6 +3,11 @@ module VagrantPlugins class Command < Vagrant.plugin('2', :command) include HostsFile + # Show description when `vagrant list-commands` is triggered + def self.synopsis + "manages the /etc/hosts file within a multi-machine environment" + end + def execute options = {} opts = OptionParser.new do |o|