Page MenuHomeFreeBSD

bintrans(1): qp switch to getopt_long
ClosedPublic

Authored by bapt on Wed, Jan 8, 11:16 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 22, 10:55 AM
Unknown Object (File)
Fri, Jan 17, 4:47 AM
Unknown Object (File)
Tue, Jan 14, 7:57 PM
Unknown Object (File)
Tue, Jan 14, 6:59 PM
Unknown Object (File)
Tue, Jan 14, 4:04 PM
Unknown Object (File)
Tue, Jan 14, 8:47 AM
Unknown Object (File)
Tue, Jan 14, 8:47 AM
Unknown Object (File)
Mon, Jan 13, 12:45 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 61573
Build 58457: arc lint + arc unit

Event Timeline

bapt requested review of this revision.Wed, Jan 8, 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.Wed, Jan 8, 4:13 PM
This revision was automatically updated to reflect the committed changes.