crchack
crchack copied to clipboard
Deprecate -o/-O offset switches in favor of -b switches
Quoting myself from comment thread of issue #9 "Lazy -b evaluation"
I think we should consider deprecating offset switches
-o/-Oat some point because-bswitches are now expressive and user-friendly enough to offer the same functionality:-o 42and-b 42:are essentially identical. Similarly,-O 42and-b -42:are equivalent to each other. The only disadvantage of-bcommand-line options is that appending to the input is unsupported when forging CRC checksums, whereas-oand-Odo support appending to the end of the input message. However, the current append mechanism should probably be rewritten anyway to support prepending also (as discussed in issue #11).