Page MenuHomeFreeBSD

bintrans(1): qp switch to getopt_long
ClosedPublic

Authored by bapt on Jan 8 2025, 11:16 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 4, 1:09 AM
Unknown Object (File)
Mon, Nov 3, 6:48 PM
Unknown Object (File)
Sat, Nov 1, 12:10 AM
Unknown Object (File)
Tue, Oct 28, 4:43 PM
Unknown Object (File)
Oct 22 2025, 10:11 AM
Unknown Object (File)
Oct 21 2025, 12:46 AM
Unknown Object (File)
Oct 13 2025, 1:58 AM
Unknown Object (File)
Oct 9 2025, 11:27 PM
Subscribers

Details

Summary

In preparation for more arguments, switch bintrans qp argument parsing
to getopt_long, while here make the decodign argument being -d|--decode
for compatibility with base64 encoding/decoding

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 61574
Build 58458: arc lint + arc unit

Event Timeline

bapt requested review of this revision.Jan 8 2025, 11:16 AM

When I imported mmencode, its usage was already established to be mmencode [-u] [-q] [-b] [-p] [-o outputfile] [file name] and has been for probably decades.
I have no opinion on what it should be, just giving historical context here.

This revision is now accepted and ready to land.Jan 8 2025, 4:13 PM
This revision was automatically updated to reflect the committed changes.