Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ static class Convert implements Callable<Integer> {
public void setInputFormat(String inputFormat) {
if (!converter.getSupportedInputFormats().contains(inputFormat)) {
throw new IllegalArgumentException("Unsupported input format: `" + inputFormat
+ "`.\nRun `listFormats` for a list of supported formats.");
+ "`.\nRun `list-formats` for a list of supported formats.");
}
this.inputFormat = inputFormat;
}
Expand All @@ -146,7 +146,7 @@ public void setInputFormat(String inputFormat) {
public void setOutputFormat(String outputFormat) {
if (!converter.getSupportedOutputFormats().contains(outputFormat)) {
throw new IllegalArgumentException("Unsupported output format: `" + outputFormat
+ "`.\nRun `listFormats` for a list of supported formats.");
+ "`.\nRun `list-formats` for a list of supported formats.");
}
this.outputFormat = outputFormat;
}
Expand Down
Loading