Skip to content

Commit d9a0b3b

Browse files
committed
revert ConfigureCommand formatting
1 parent f1c1d4b commit d9a0b3b

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

Sources/SwiftJavaTool/Commands/ConfigureCommand.swift

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ extension SwiftJava {
3535
@OptionGroup var commonJVMOptions: SwiftJava.CommonJVMOptions
3636

3737
// TODO: This should be a "make wrappers" option that just detects when we give it a jar
38-
@Flag(
39-
help: "Specifies that the input is a *.jar file whose public classes will be loaded. The output of swift-java will be a configuration file (swift-java.config) that can be used as input to a subsequent swift-java invocation to generate wrappers for those public classes."
40-
)
38+
@Flag(help: "Specifies that the input is a *.jar file whose public classes will be loaded. The output of swift-java will be a configuration file (swift-java.config) that can be used as input to a subsequent swift-java invocation to generate wrappers for those public classes.")
4139
var jar: Bool = false
4240

4341
@Option(
@@ -57,9 +55,7 @@ extension SwiftJava {
5755
swiftModule
5856
}
5957

60-
@Argument(
61-
help: "The input file, which is either a swift-java configuration file or (if '-jar' was specified) a Jar file."
62-
)
58+
@Argument(help: "The input file, which is either a swift-java configuration file or (if '-jar' was specified) a Jar file.")
6359
var input: String?
6460
}
6561
}
@@ -199,10 +195,9 @@ extension SwiftJava.ConfigureCommand {
199195
javaCanonicalName.defaultSwiftNameForJavaClass
200196
}
201197
}
202-
203198
}
204199

205200
package func fileOrDirectoryExists(at path: String) -> Bool {
206201
var isDirectory: ObjCBool = false
207202
return FileManager.default.fileExists(atPath: path, isDirectory: &isDirectory)
208-
}
203+
}

0 commit comments

Comments
 (0)