package net.omniscimus.fireworks.commands;

import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;

import org.apache.commons.cli.CommandLine;

/**
 * This command sends the sender info on how to use the plugin commands.
 *
 * @author Omniscimus
 */
public class HelpCommand extends FireworksCommand {

    private static final String HELPCOMMAND
	    = ChatColor.GOLD + "----- Fireworks Help -----\n"
	    + ChatColor.GOLD + "/fw start [world] [x] [y] [z]: " + ChatColor.RED + "starts a fireworks show at your (or the specified) location.\n"
	    + ChatColor.GOLD + "/fw stop: " + ChatColor.RED + "stops the last fireworks show.\n"
	    + ChatColor.GOLD + "/fw stopall: " + ChatColor.RED + "stops all fireworks shows.\n"
	    + ChatColor.GOLD + "/fw save <name>: " + ChatColor.RED + "saves all current fireworks shows as the preset " + ChatColor.ITALIC + "name.\n"
	    + ChatColor.GOLD + "/fw load: " + ChatColor.RED + "lists all shows you can load.\n"
	    + ChatColor.GOLD + "/fw load <name>: " + ChatColor.RED + "loads the show that was saved as the preset " + ChatColor.ITALIC + "name.\n"
	    + ChatColor.GOLD + "/fw remove <name>: " + ChatColor.RED + "deletes the show that was saved as the preset " + ChatColor.ITALIC + "name.\n"
	    + ChatColor.GOLD + "/fw shoot <player>: " + ChatColor.RED + "shoots a piece fireworks at the specified player's location.";
    
    @Override
    public void run(CommandSender sender, CommandLine commandLine) {
        sender.sendMessage(HELPCOMMAND);
    }

}

@@ -450,25 +450,59 @@
 rt %5B
+-p %3Cplayer%3E%5D %5B-w %3C
 world
+%3E
 %5D %5B
-x%5D %5By%5D %5Bz
+-x %3Cx%3E%5D %5B-y %3Cy%3E%5D %5B-z %3Cz%3E
 %5D: %22
@@ -798,16 +798,19 @@
 fw save 
+-s 
 %3Cname%3E: 
@@ -1034,16 +1034,19 @@
 fw load 
+-s 
 %3Cname%3E: 
@@ -1179,16 +1179,19 @@
  remove 
+-s 
 %3Cname%3E: 
@@ -1325,24 +1325,28 @@
 w shoot 
+%5B-p 
 %3Cplayer%3E
 : %22 + Ch
@@ -1337,16 +1337,57 @@
 %3Cplayer%3E
+%5D %5B-w %3Cworld%3E%5D %5B-x %3Cx%3E%5D %5B-y %3Cy%3E%5D %5B-z %3Cz%3E%5D
 : %22 + Ch
@@ -1447,17 +1447,8 @@
 ied 
-player's 
 loca

Update command help