You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The README makes it seem that --until-error does not require an argument:
Or until it fails with --until-error (which also accepts an optional error code):
But when I try it without an argument, I get this:
error: The argument '--until-error <until_error>' requires a value but none was supplied
USAGE:
loop <input> --count-by <count_by> --every <every> --offset <offset> --until-error <until_error>
So I think that maybe --until-fail is what I want, based on this:
Or, if you have a list of files but need to find the one which causes your program to fail:
$ ls | loop './my_program $ITEM' --until-fail;
But I get this:
error: Found argument '--until-fail' which wasn't expected, or isn't valid in this context
And I still don't know how to run a command until it fails. Seems like it is currently impossible.
On Sun, Mar 24, 2019 at 9:32 PM art-of-dom ***@***.***> wrote:
So in the current master, I see --until-fail is works as expected.
--until-error still has the same message:
error: The argument '--until-error <until_error>' requires a value but none was supplied
I'm going to start looking into it unless there are objections.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#31 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAIi04hbcuIzL0cuypSDirto9yv5lAhBks5vaCcfgaJpZM4WTKB2>
.
Activity
Miserlou commentedon Sep 1, 2018
Yep, that seems like a bug, probably introduced with the refactor. Probably maybe still works with --until-fail 1?
mrcnski commentedon Sep 1, 2018
Ah, nope:
Thanks for replying, cool tool 👍
art-of-dom commentedon Mar 25, 2019
So in the current master, I see
--until-failis works as expected.--until-errorstill has the same message:I'm going to start looking into it unless there are objections.
Miserlou commentedon Mar 25, 2019