On Mon, Apr 27, 2015 at 8:54 PM, Ole Tange <[email protected]> wrote:
> On Mon, Apr 27, 2015 at 5:46 PM, Martin d'Anjou
> <[email protected]> wrote:
> :
:
>> Backward compatibility:
>>
>> --halt 0 is the same as --halt never
>>
>> --halt 1 is the same as --halt onfail,1,killpending
>
> --halt soon,fail=1
>
>> --halt 2 has no equivalents (it does not make sense to orphan jobs)
>
> But --halt 2 should probably killall anyway.
>
> --halt now,fail=1
>
>> --halt -1 is the same as --halt onsuccess,1,killpending
>
> --halt soon,success=1
>
>> --halt -2 has no equivalents (it does not make sense to orphan jobs)
>
> But --halt -2 should probably killall anyway.
>
> --halt now,success=1
>
>> --halt 1-99% is equivalent to --halt onfail,1-99%,killpending
>
> --halt soon,fail=1-99%
>
>
> I think we are close to a decent design, and I will see how hard that
> is to implement.

I have implemented but not tested the above. Give it a spin and feed back.

git clone git://git.savannah.gnu.org/parallel.git

/Ole


/Ole

Reply via email to