diff --git a/bin/sqlint b/bin/sqlint index 0a84a3d0b77060411d040f8bcf884f069e5f998f..c7bc08ff664194b809f8e42f6e26a0063296cb1b 100755 --- a/bin/sqlint +++ b/bin/sqlint @@ -12,7 +12,7 @@ optparse = OptionParser.new do |opts| opts.banner = "Usage: #{File.basename($0)} [options] file.sql ..." opts.separator "" opts.separator "Options:" - opts.on("--limit=N", Integer, "Limit checking to N errors") do |n| + opts.on("--limit=N", Integer, "Limit checking to N errors (default: #{options[:limit]})") do |n| options[:limit] = n end opts.on_tail("-h", "--help", "Print this help") do