summaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/mapper/writer/impl/TinyV2Writer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/ftbsc/lll/mapper/writer/impl/TinyV2Writer.java')
-rw-r--r--src/main/java/ftbsc/lll/mapper/writer/impl/TinyV2Writer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/ftbsc/lll/mapper/writer/impl/TinyV2Writer.java b/src/main/java/ftbsc/lll/mapper/writer/impl/TinyV2Writer.java
index 68d769a..d63db24 100644
--- a/src/main/java/ftbsc/lll/mapper/writer/impl/TinyV2Writer.java
+++ b/src/main/java/ftbsc/lll/mapper/writer/impl/TinyV2Writer.java
@@ -20,8 +20,8 @@ public class TinyV2Writer implements IWriter {
@Override
public void write(Mapper mapper, PrintWriter writer, String... args) {
if(args.length < 2)
- throw new RuntimeException("Please provide the namespaces for the tiny format after the -a flag!");
- writer.printf("tiny\t2\t0\t%s\t%s", args[0], args[1]);
+ throw new RuntimeException("Please provide the namespaces for the tiny format as additional arguments!");
+ writer.printf("tiny\t2\t0\t%s\t%s\n", args[0], args[1]);
mapper.getRawMappings().forEach((name, data) -> {
writer.printf("c\t%s\t%s\n", name, data.nameMapped);
data.getFields().forEach((fieldName, fieldData) ->