Page MenuHomeFreeBSD

Patch: Fix bluetooth-config's parameter parsing
ClosedPublic

Authored by erdgeist_erdgeist.org on Jul 12 2025, 4:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 18, 2:18 PM
Unknown Object (File)
Sun, Oct 12, 9:26 PM
Unknown Object (File)
Sun, Oct 12, 9:26 PM
Unknown Object (File)
Sun, Oct 12, 9:53 AM
Unknown Object (File)
Wed, Oct 8, 10:17 AM
Unknown Object (File)
Tue, Oct 7, 3:03 PM
Unknown Object (File)
Wed, Sep 24, 2:12 AM
Unknown Object (File)
Wed, Sep 24, 1:47 AM
Subscribers
None

Details

Reviewers
lme
Summary

This addresses the problems encountered when parsing options in bluetooth-config.

  • the optional parameters were not properly shifted after consumption
  • the command line parameter count was checked before getopts and not after

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped