# HG changeset patch # User Steve Losh # Date 1353172261 18000 # Node ID 4ee5a215241699f5323c463f40022b8774d3537e # Parent c4f94236bde4ee657c0ba12ed03b3fecc1464af1 Fix the --smart-interval option parser. diff -r c4f94236bde4 -r 4ee5a2152416 peat --- 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',