File tree Expand file tree Collapse file tree
tools/src/main/java/com/github/jsonldjava/tools Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ public RDFFormat convert(String arg0) {
9595 if (formats .containsKey (formatName )) {
9696 return formats .get (formatName );
9797 }
98- throw new ValueConversionException ("Format was not known: " + arg0 + " (Valid values are: " + formats + ")"
98+ throw new ValueConversionException ("Format was not known: " + arg0 + " (Valid values are: " + formats . keySet () + ")"
9999 );
100100 }
101101
@@ -110,7 +110,7 @@ public Class<RDFFormat> valueType() {
110110 }
111111 })
112112 .describedAs (
113- "The output file format to use. Defaults to nquads. Valid values are: " + formats );
113+ "The output file format to use. Defaults to nquads. Valid values are: " + formats . keySet () );
114114
115115 final OptionSpec <String > processingOption = parser .accepts ("process" )
116116 .withRequiredArg ()
You can’t perform that action at this time.
0 commit comments