From b628be43c95115488576e8b9360ca2f503d50f5a Mon Sep 17 00:00:00 2001 From: Luke Hamburg Date: Sun, 26 Dec 2021 16:28:56 -0500 Subject: [PATCH] Update main.swift fix compilation error in Xcode 13.2 --- Sources/BluetoothConnector/main.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/BluetoothConnector/main.swift b/Sources/BluetoothConnector/main.swift index 946e908..df3e81e 100644 --- a/Sources/BluetoothConnector/main.swift +++ b/Sources/BluetoothConnector/main.swift @@ -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",