From 4154bdcaadc1fb1ad2e7cd0f8f887dac5346a0d7 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Fri, 10 Jul 2009 13:54:21 +0200 Subject: [PATCH] parallel: Assume -j 1 if no -j or -l is given --- parallel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/parallel.c b/parallel.c index 438bc93..597cda2 100644 --- a/parallel.c +++ b/parallel.c @@ -113,7 +113,8 @@ int main(int argc, char **argv) } if (maxjobs < 0 && maxload < 0) { - usage(); + maxjobs = 1; /* XXX: Maybe we should try to autodetect + number of CPUs? */ } while (optind < argc) { -- 2.39.5