Skip to content

Commit 5c45360

Browse files
committed
fixed --out-format option
1 parent 415c3e3 commit 5c45360

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rdf-processing-toolkit-cli/src/main/java/org/aksw/sparql_integrate/cli/main/SparqlIntegrateCmdImpls.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ public static int sparqlIntegrate(CmdSparqlIntegrateMain cmd) throws Exception {
248248
? outFilename
249249
: outFormat;
250250

251-
if (formatSource != null) {
251+
if (outFormat == null && formatSource != null) {
252252
// Try to derive the outFormat from the filename - if given.
253253
FileName fn = fileNameParser.parse(formatSource);
254254
outFormat = fn.getContentPart();

0 commit comments

Comments
 (0)