From 087dd73e65a7f1c5408a65f38b63b3d08c017cea Mon Sep 17 00:00:00 2001 From: Sasha Goldshtein Date: Wed, 26 Oct 2016 06:50:31 -0700 Subject: [PATCH] ustat: Change 'count' argument type to int --- tools/ustat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ustat.py b/tools/ustat.py index 21ef16e..75e33f8 100755 --- a/tools/ustat.py +++ b/tools/ustat.py @@ -137,7 +137,7 @@ class Tool(object): help="Print the resulting BPF program (for debugging purposes)") parser.add_argument("interval", nargs="?", default=1, type=int, help="output interval, in seconds") - parser.add_argument("count", nargs="?", default=99999999, + parser.add_argument("count", nargs="?", default=99999999, type=int, help="number of outputs") self.args = parser.parse_args() -- 2.7.4