> I like --fail-above. --fail-at may read like it should be exactly 1. --fail-above is really nice. I couldn't think of a concise term for --fail-at-or-over, and --fail-over is the only term I could come up with which is obviously cognitively overloaded already.
On Thu, Jun 3, 2021 at 11:39 AM José Valim <[email protected]> wrote: > I like --fail-above. --fail-at may read like it should be exactly 1. > > On Thu, Jun 3, 2021 at 8:33 PM Marc-André Lafortune < > [email protected]> wrote: > >> >> >> On Thursday, 3 June 2021 at 13:54:58 UTC-4 [email protected] wrote: >> >>> > > About 4, what if we call it --fail-if-any? Or alternatively, >>> --at-most=0 (and you can set it to any positive integer)? >>> > `at-most` is short and sweet 👍 >>> >>> I think it's important for this flag name to communicate that it will >>> cause a failure. at-most sounds like it would simply limit graph depth, >>> rather than return a non-zero status code if the graph is over a certain >>> depth. >>> >>> Maybe --failure-depth=2 or --fail-at=3? >>> >> >> Agreed, `--fail-at=1` or `--fail-above=0` seem clearer >> >> -- >> You received this message because you are subscribed to the Google Groups >> "elixir-lang-core" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elixir-lang-core/01896960-5f36-4a4d-859f-4f14dd4dc452n%40googlegroups.com >> <https://groups.google.com/d/msgid/elixir-lang-core/01896960-5f36-4a4d-859f-4f14dd4dc452n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "elixir-lang-core" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/elixir-lang-core/Hmg5y8S3v4E/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4K%3DFzgrxfSy5L8y0EtOvJBKqJx1OUvyKhYfX9SFH3Eq8g%40mail.gmail.com > <https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4K%3DFzgrxfSy5L8y0EtOvJBKqJx1OUvyKhYfX9SFH3Eq8g%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAD9kT2RKVzgpJ3sfcKJ424XGQZybJOT0W5RVzWtM%3DFwSzAhKwQ%40mail.gmail.com.
