Skip to content

Commit defb00d

Browse files
authored
Merge pull request #275 from allevato/no-mo-mode
Remove the legacy entry point.
2 parents 5add2e0 + 31205e2 commit defb00d

File tree

2 files changed

+1
-78
lines changed

2 files changed

+1
-78
lines changed

Sources/swift-format/Subcommands/LegacyMain.swift

Lines changed: 0 additions & 74 deletions
This file was deleted.

Sources/swift-format/main.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,9 @@ struct SwiftFormatCommand: ParsableCommand {
2121
subcommands: [
2222
DumpConfiguration.self,
2323
Format.self,
24-
LegacyMain.self,
2524
Lint.self,
2625
],
27-
// TODO: Change the default to `Format` when we delete the legacy interface after a short
28-
// period of time.
29-
defaultSubcommand: LegacyMain.self
26+
defaultSubcommand: Format.self
3027
)
3128

3229
@OptionGroup()

0 commit comments

Comments
 (0)