From eeb82f8b2d5c5a3e98d54d7a23ad3e5dbcbae39d Mon Sep 17 00:00:00 2001 From: Pieter van de Bruggen Date: Fri, 15 Apr 2011 16:38:31 -0700 Subject: (Maint) Code cleanup. Reviewed-By: Daniel Pittman --- lib/puppet/face/help.rb | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/lib/puppet/face/help.rb b/lib/puppet/face/help.rb index 099025583..a762fb02e 100644 --- a/lib/puppet/face/help.rb +++ b/lib/puppet/face/help.rb @@ -20,11 +20,28 @@ Puppet::Face.define(:help, '0.0.1') do # should rewrite this to use those. --daniel 2011-04-04 options = args.pop if options.nil? or args.length > 2 then - if args.select { |x| x == 'help' } .length > 2 then + if args.select { |x| x == 'help' }.length > 2 then c = "\n !\"'),-./7:;