Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate -o/-O offset switches in favor of -b switches #14

Open
resilar opened this issue Mar 30, 2024 · 0 comments
Open

Deprecate -o/-O offset switches in favor of -b switches #14

resilar opened this issue Mar 30, 2024 · 0 comments

Comments

@resilar
Copy link
Owner

resilar commented Mar 30, 2024

Quoting myself from comment thread of issue #9 "Lazy -b evaluation"

I think we should consider deprecating offset switches -o/-O at some point because -b switches are now expressive and user-friendly enough to offer the same functionality: -o 42 and -b 42: are essentially identical. Similarly, -O 42 and -b -42: are equivalent to each other. The only disadvantage of -b command-line options is that appending to the input is unsupported when forging CRC checksums, whereas -o and -O do 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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant