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/CMDupdateModel.java

    r547 r664  
    1111import de.ugoe.cs.quest.usageprofiles.TrieBasedModel; 
    1212import de.ugoe.cs.util.console.Command; 
    13 import de.ugoe.cs.util.console.Console; 
    1413 
    1514/** 
     
    7473         */ 
    7574        @Override 
    76         public void help() { 
    77                 Console.println("Usage: updateModel <modelname> <sequencesName>"); 
     75        public String help() { 
     76                return "updateModel <modelname> <sequencesName>"; 
    7877        } 
    7978 
Note: See TracChangeset for help on using the changeset viewer.