From 5304b4f2c1b36ee81be71b91df942a17b6f5344d Mon Sep 17 00:00:00 2001
From: Peter Souter
Date: Tue, 23 Sep 2014 00:54:28 +0100
Subject: [PATCH] Add -q option to suppress warnings for server
---
lib/puppet/face/strings.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/puppet/face/strings.rb b/lib/puppet/face/strings.rb
index 15a67c6..140f663 100644
--- a/lib/puppet/face/strings.rb
+++ b/lib/puppet/face/strings.rb
@@ -123,7 +123,7 @@ Puppet::Face.define(:strings, '0.0.1') do
# The `-m` flag means a list of name/path pairs will follow. The name is
# used as the module name and the path indicates which `.yardoc` index to
# generate documentation from.
- yard_args = %w[-m] + module_tuples.flatten
+ yard_args = %w[-m -q] + module_tuples.flatten
merge_puppet_args!(yard_args)
YARD::CLI::Server.run(*yard_args)