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)
Thu, Mar 19, 3:21 PM
Unknown Object (File)
Thu, Mar 19, 3:17 PM
Unknown Object (File)
Wed, Mar 11, 12:15 PM
Unknown Object (File)
Wed, Mar 11, 10:24 AM
Unknown Object (File)
Wed, Mar 11, 10:01 AM
Unknown Object (File)
Wed, Mar 11, 7:57 AM
Unknown Object (File)
Wed, Mar 11, 7:19 AM
Unknown Object (File)
Wed, Mar 11, 3:40 AM
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.