This is a more appropriate value for "run forever", because 0 could
result in an unexpected early return in the loop when there is no test
to run.
Signed-off-by: Fam Zheng <famz@redhat.com>
---
patchew-cli | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/patchew-cli b/patchew-cli
index 174d1e6..f4539a7 100755
--- a/patchew-cli
+++ b/patchew-cli
@@ -452,7 +452,7 @@ class TesterCommand(SubCommand):
help="comma separated project names to run test")
parser.add_argument("--name", "-n",
help="name of this tester (default is the logged in username)")
- parser.add_argument("--num", "-N", type=int, default=0,
+ parser.add_argument("--num", "-N", type=int, default=-1,
help="max number of tests to run")
parser.add_argument("--no-clean-up", action="store_true",
help="skip cleaning up after finish")
--
2.17.1
_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://www.redhat.com/mailman/listinfo/patchew-devel