From d2fa6daa3f2ecbafd2dda8d6da895ef69575e3b3 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 14 Feb 2013 18:39:16 -0500 Subject: v4 (v3): cosmetic, minor code shuffle, & remove trailing white-spaces --- lib/sisu/v4/hub.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sisu/v4/hub.rb') diff --git a/lib/sisu/v4/hub.rb b/lib/sisu/v4/hub.rb index d55a5f17..e02fa940 100644 --- a/lib/sisu/v4/hub.rb +++ b/lib/sisu/v4/hub.rb @@ -673,7 +673,7 @@ p "#{__LINE__}:#{__FILE__}" if @opt.act[:maintenance][:set] ==:on or @opt.act[:scp][:set]==:on \ or @opt.act[:webrick][:set]==:on \ or @opt.act[:zap][:set]==:on \ - or ( + or ( @opt.cmd =~/^-/ \ and @opt.cmd =~/([abCcDdeFGgHhIjikLMmNnoPpQqRrSsTtUuVvWwXxYyZ_0-9])/ \ and @opt.mod.inspect !~/--(?:sitemaps|query|identify)/ \ -- cgit v1.2.3