<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Hi,</div><div class=""><br class=""></div><div class="">I think lit.py’s current behavior is somewhat unintuitive in the presence of -v (and not</div><div class="">using -vv), so I’m proposing that it be changed.</div><div class=""><br class=""></div>Current behavior:<div class=""><div class="">-v: Prints all the substituted lines, not clear which line failed :(</div><div class="">-vv: Prints all the lines up to and including the line that failed :)</div><div class=""><br class=""></div><div class="">Option 1:</div><div class="">-v: Prints only the failing line :)</div><div class="">-vv: Same as today. :)</div><div class="">-vvv (new): Prints all the substituted lines, highlighting* the line that failed :)</div><div class=""><br class=""></div><div class="">Option 2 (less deviation from status quo):</div><div class="">-v: Adopts behavior of -vvv from Option 1. :)</div></div><div class="">-vv: Same as today. :)</div><div class=""><br class=""></div><div class=""><div class="">See also: <a href="https://twitter.com/brentdax/status/1154955239620956160" class="">https://twitter.com/brentdax/status/1154955239620956160</a> (note: my opinion has</div><div class="">changed slightly since my comment there)</div></div><div class=""><br class=""></div><div class="">Varun</div><div class=""><br class=""></div><div class=""><div class="">* highlighting — could be bold and/or underlined or something else. Based on some simple</div><div class="">testing on a Mac terminal, this doesn’t break copy-pasting even if you’re using the default</div><div class="">formatting-aware copy-paste.</div></div><div class=""><br class=""></div></body></html>