diff --git a/src/main/java/org/jabref/cli/JabRefCLI.java b/src/main/java/org/jabref/cli/JabRefCLI.java index ff4fcd63225..270ed212fe6 100644 --- a/src/main/java/org/jabref/cli/JabRefCLI.java +++ b/src/main/java/org/jabref/cli/JabRefCLI.java @@ -7,8 +7,8 @@ import org.jabref.logic.exporter.ExporterFactory; import org.jabref.logic.importer.ImportFormatReader; import org.jabref.logic.l10n.Localization; -import org.jabref.model.util.DummyFileUpdateMonitor; import org.jabref.model.strings.StringUtil; +import org.jabref.model.util.DummyFileUpdateMonitor; import org.jabref.preferences.PreferencesService; import org.apache.commons.cli.CommandLine; @@ -305,11 +305,7 @@ public static void printUsage(PreferencesService preferencesService) { Globals.entryTypesManager, Globals.journalAbbreviationRepository); String outFormatsIntro = Localization.lang("Available export formats"); - - // issue 429: change the output format into "display name : id" pairs and start from new line String outFormats = getExportFormatList(exporterFactory.getExporters()); - -// String outFormatsList = String.format("%s: %s%n", outFormatsIntro, outFormats); String outFormatsList = String.format("%s:%n%s%n", outFormatsIntro, outFormats); String footer = '\n' + importFormatsList + outFormatsList + "\nPlease report issues at https://github.com/JabRef/jabref/issues."; diff --git a/src/test/java/org/jabref/cli/JabRefCLITest.java b/src/test/java/org/jabref/cli/JabRefCLITest.java index 87b64d9bc63..dd0120f5619 100644 --- a/src/test/java/org/jabref/cli/JabRefCLITest.java +++ b/src/test/java/org/jabref/cli/JabRefCLITest.java @@ -4,6 +4,7 @@ import java.util.List; import org.jabref.preferences.JabRefPreferences; + import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals;