diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sisu/v3/options.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/sisu/v3/options.rb b/lib/sisu/v3/options.rb index ffd0da0f..b9d54123 100644 --- a/lib/sisu/v3/options.rb +++ b/lib/sisu/v3/options.rb @@ -131,7 +131,12 @@ module SiSU_commandline if find_flag \ && y !~ /^-/ \ && y =~ /\S+/ - f << y + if y !~/\// + f << y + else + find_flag=false + puts %{sub-directories "#{y}" cannot be provided for --find or --glob at this time} + end end end r=Px[:lng_lst].join('|') |