Skip to content

Commit 7e2ac2a

Browse files
committed
Merge pull request #105 from axislab/commands
Show description for hostmanager when vagrant list-commands is triggered
2 parents 6a1dcf0 + f81fc56 commit 7e2ac2a

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)