Skip to content

Commit f81fc56

Browse files
author
axisthemes
committed
Show description for hostmanager when vagrant list-commands is triggered
1 parent 936e7e4 commit f81fc56

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/vagrant-hostmanager/command.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ module HostManager
33
class Command < Vagrant.plugin('2', :command)
44
include HostsFile
55

6+
# Show description when `vagrant list-commands` is triggered
7+
def self.synopsis
8+
"manages the /etc/hosts file within a multi-machine environment"
9+
end
10+
611
def execute
712
options = {}
813
opts = OptionParser.new do |o|

0 commit comments

Comments
 (0)