Ignore:
Timestamp:
08/28/12 13:33:23 (12 years ago)
Author:
sherbold
Message:
  • modified Command.help(): the help now returns a string with its usage instead of writing directly to the console
  • modified listCommands: now writes the help string of each command instead of just the name; this way, the parameters are displayed directly
  • moved listCommands from quest-ui-core to java-utils
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-ui-core/src/main/java/de/ugoe/cs/quest/ui/commands/CMDstopFileListener.java

    r434 r664  
    77import de.ugoe.cs.quest.ui.GlobalDataContainer; 
    88import de.ugoe.cs.util.console.Command; 
    9 import de.ugoe.cs.util.console.Console; 
    109import de.ugoe.cs.util.console.FileOutputListener; 
    1110 
     
    4443 
    4544        @Override 
    46         public void help() { 
    47                 Console.println("Command: stopFileListener <filename>"); 
     45        public String help() { 
     46                return "stopFileListener <filename>"; 
    4847 
    4948        } 
Note: See TracChangeset for help on using the changeset viewer.