Fix the --smart-interval option parser.
author |
Steve Losh <steve@stevelosh.com> |
date |
Sat, 17 Nov 2012 12:11:01 -0500 |
parents |
c4f94236bde4
|
children |
6ba80dea5994
|
branches/tags |
(none) |
files |
peat |
Changes
--- a/peat Sat Nov 17 12:08:20 2012 -0500
+++ b/peat Sat Nov 17 12:11:01 2012 -0500
@@ -59,6 +59,7 @@
help='interval between checks in milliseconds',
metavar='N')
p.add_option('-I', '--smart-interval', dest='interval',
+ action='store_const', const=None,
help='determine the interval based on number of files watched (default)')
p.add_option('-c', '--clear', default=True,
action='store_true', dest='clear',