Mercurial > hg > fail
diff fail.py @ 1:a4680e54c481
fix formatting
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 23 Aug 2016 13:57:20 -0700 |
parents | 02d077c5627a |
children | d1880117acb5 |
line wrap: on
line diff
--- a/fail.py Mon Feb 29 13:48:39 2016 -0800 +++ b/fail.py Tue Aug 23 13:57:20 2016 -0700 @@ -10,6 +10,7 @@ import sys import time + def main(args=sys.argv[1:]): """CLI""" @@ -20,7 +21,7 @@ help="allowed exit codes") parser.add_argument('-s', '--sleep', dest='sleep', type=float, default=1., - help="sleep between iterations [DEFAULT: %(default)]") + help="sleep between iterations [DEFAULT: %(default)s]") options = parser.parse_args(args) try: