Commit 6a141ba5 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

command/inspect: output the description if we have it

parent 71385c8f
......@@ -43,6 +43,12 @@ func (c Command) Run(env packer.Environment, args []string) int {
// Convenience...
ui := env.Ui()
// Description
if tpl.Description != "" {
ui.Say("Description:\n")
ui.Say(tpl.Description+"\n")
}
// Variables
if len(tpl.Variables) == 0 {
ui.Say("Variables:\n")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment