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
When specifying both --length and --bytes in either long or short form, the value of --length will be chosen while the value specified by --bytes will be discarded silently. While I don't think anybody would intentionally run into it, having a warning or error just in case is something that would help improve UX.
Note: I'm doing a class assignment regarding creating tests (from scratch) for an open-source command line program, and I chose hexyl for it. You might have a couple more of these on the way, depending on what the assignment brings to light :)
The text was updated successfully, but these errors were encountered:
By the way: if someone starts implementing integration-style tests for hexyl, I think we should consider using assert_cmd (similar to how we use it for bat).
When specifying both
--length
and--bytes
in either long or short form, the value of--length
will be chosen while the value specified by--bytes
will be discarded silently. While I don't think anybody would intentionally run into it, having a warning or error just in case is something that would help improve UX.hexyl/src/bin/hexyl.rs
Lines 174 to 176 in cc5b308
Note: I'm doing a class assignment regarding creating tests (from scratch) for an open-source command line program, and I chose
hexyl
for it. You might have a couple more of these on the way, depending on what the assignment brings to light :)The text was updated successfully, but these errors were encountered: