Skip to content

Commit b432d61

Browse files
committed
Fix printf interpreting dash-prefixed strings as options
Use format specifiers for strings starting with dashes to prevent printf from interpreting them as invalid options.
1 parent f1cd211 commit b432d61

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ jobs:
112112
printf "## SwiftMac %s\n\n" "$VERSION"
113113
printf "**Apple Silicon Release** (arm64)\n\n"
114114
printf "### Requirements\n\n"
115-
printf "- macOS with Apple Silicon (M1, M2, M3, M4, or newer)\n"
116-
printf "- Emacspeak installed\n\n"
115+
printf "%s\n" "- macOS with Apple Silicon (M1, M2, M3, M4, or newer)"
116+
printf "%s\n\n" "- Emacspeak installed"
117117
printf "### Installation\n\n"
118118
printf "**1. Download and extract:**\n\n"
119119
printf '```bash\n'

Sources/SwiftMacPackage/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import OggDecoder
1616
#else
1717
let debugLogger = Logger() // No-Op
1818
#endif
19-
let version = "4.3.5"
19+
let version = "4.3.6"
2020
let name = "swiftmac"
2121
var ss = StateStore() // just create new one to reset
2222

0 commit comments

Comments
 (0)