ensure the sample's help prints when --help is passed

git-svn-id: file:///home/svn/framework3/trunk@13872 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Jonathan Cran 2011-10-11 16:26:08 +00:00
parent 558894e100
commit 9def293067
4 changed files with 4 additions and 4 deletions

View File

@ -107,7 +107,7 @@ parser.on("--fast-detect (optional)") do
end end
parser.on("--help") do parser.on("--help") do
$stderr.puts opts $stderr.puts parser
exit(1) exit(1)
end end

View File

@ -107,7 +107,7 @@ parser.on("--module-filter FILTER (optional)") do |x|
end end
parser.on("--help") do parser.on("--help") do
$stderr.puts opts $stderr.puts parser
exit(1) exit(1)
end end

View File

@ -34,7 +34,7 @@ parser.on("--project PROJECT") do |project|
end end
parser.on("--help") do parser.on("--help") do
$stderr.puts ropts $stderr.puts parser
exit(1) exit(1)
end end
parser.separator('') parser.separator('')

View File

@ -63,7 +63,7 @@ parser.on("--blacklist BLACKLIST (optional)") do |x|
end end
parser.on("--help") do parser.on("--help") do
$stderr.puts opts $stderr.puts parser
exit(1) exit(1)
end end