From 26e30cb8ff91a91bc9214478a7c9b55666682013 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 16 Feb 2012 16:51:30 +0100 Subject: [PATCH] prun: Added a switch for setting the number of parallel jobs --- lib/bin/bex-prun | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/bin/bex-prun b/lib/bin/bex-prun index 3fc36dd..9c37db5 100755 --- a/lib/bin/bex-prun +++ b/lib/bin/bex-prun @@ -19,6 +19,7 @@ Usage: bex prun [] [[!] ...] Options: --debug-children Log stdout and stderr to ./debug.log +-p, --parallel= Set limit on the number of jobs run in parallel -q, --queue= Run jobs in the given queue --text Use plain-text user interface instead of curses AMEN @@ -29,6 +30,7 @@ GetOptions( "q|queue=s" => \$queue_name, "text!" => \$text_mode, "debug-children!" => \$debug_children, + "j|parallel=i" => \$BEX::Config::max_parallel_jobs, "help" => \&usage, ) or die "Try `bex prun --help' for more information.\n"; -- 2.39.2