From: Tollef Fog Heen Date: Fri, 10 Jul 2009 11:54:21 +0000 (+0200) Subject: parallel: Assume -j 1 if no -j or -l is given X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4154bdcaadc1fb1ad2e7cd0f8f887dac5346a0d7;p=moreutils parallel: Assume -j 1 if no -j or -l is given --- 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) {