package com.techcavern.wavetact.commandline;

import com.techcavern.wavetact.annot.CMDLine;
import com.techcavern.wavetact.utils.GeneralRegistry;
import com.techcavern.wavetact.utils.GeneralUtils;
import com.techcavern.wavetact.utils.objects.CommandLine;
import org.apache.commons.lang3.StringUtils;

import java.util.Arrays;

public class Help extends CommandLine {
    @CMDLine
    public Help() {
        super(GeneralUtils.toArray("h help"), "Prints this help screen", false);
    }

    @Override
    public void doAction(String[] args) {
        System.out.println("Help");
        for (CommandLine c : GeneralRegistry.CommandLines) {
            System.out.println("-" + StringUtils.join(Arrays.asList(c.getArgument()), ", ") + c.getHelpString());
        }
        System.exit(0);
    }

}

@@ -727,16 +727,23 @@
  %22, %22) +
+  %22 %22 +
  c.getHe

Fix Derp in Help Screen