[Bug] `--help` flag not recognized, causing unintended command execution

Resolved 💬 3 comments Opened May 21, 2026 by WilliamIsted Closed Jun 21, 2026

Bug Description
"The command was sfltool resetbtm --help which I ran thinking it would print usage. sfltool doesn't recognise --help as a flag and instead executes the subcommand. So it ran resetbtm, which wipes the entire BTM database for your user."

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.146
  • Feedback ID: 264f1ffa-9077-4a9e-801f-4bd5d2721097

Errors

[{"error":"The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch()","timestamp":"2026-05-21T17:51:08.388Z"}]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗