Skip to content

Commit

Permalink
Merge pull request #21 from luckman212/master
Browse files Browse the repository at this point in the history
  • Loading branch information
lapfelix authored Dec 26, 2021
2 parents f7596dc + b628be4 commit 634fc9a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sources/BluetoothConnector/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,16 @@ func execute(macAddress: String, connectOnly: Bool, disconnectOnly: Bool, notify

struct BluetoothConnector: ParsableCommand {
@Flag(name: .shortAndLong, help: "Connect a device")
var connect: Bool
var connect: Bool = false

@Flag(name: .shortAndLong, help: "Disconnect a device")
var disconnect: Bool
var disconnect: Bool = false

@Flag(name: .shortAndLong, help: "Get the status of a device")
var status: Bool
var status: Bool = false

@Flag(name: .shortAndLong, help: "Post a Notification Center notification")
var notify: Bool
var notify: Bool = false

@Argument(help: ArgumentHelp(
"The MAC address of the device. Format: 00-00-00-00-00-00 or 000000000000",
Expand Down

0 comments on commit 634fc9a

Please sign in to comment.