about summary refs log tree commit homepage
path: root/examples
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-06-27 03:30:39 +0000
committerEric Wong <normalperson@yhbt.net>2011-06-27 03:42:43 +0000
commit18318887920773d43b72e9fb6490d3e74674bcf0 (patch)
tree94d0a2d11aad58c9b48e2f726bfe0138d5c1d57f /examples
parentad3bf417b45d50be7b0121b5dacca2bc95b7953b (diff)
downloadraindrops-18318887920773d43b72e9fb6490d3e74674bcf0.tar.gz
Found in the check-warnings target in pkg.mk
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/linux-listener-stats.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/linux-listener-stats.rb b/examples/linux-listener-stats.rb
index 0b0a6dd..1008995 100755
--- a/examples/linux-listener-stats.rb
+++ b/examples/linux-listener-stats.rb
@@ -21,7 +21,7 @@ queued_thresh = -1
 trap(:INT) { exit 130 }
 trap(:PIPE) { exit 0 }
 
-opts = OptionParser.new('', 24, '  ') do |opts|
+OptionParser.new('', 24, '  ') do |opts|
   opts.banner = usage
   opts.on('-d', '--delay=DELAY', Float) { |n| delay = n }
   opts.on('-t', '--queued-threshold=INT', Integer) { |n| queued_thresh = n }