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

    r434 r664  
    66import de.ugoe.cs.quest.usageprofiles.PredictionByPartialMatch; 
    77import de.ugoe.cs.quest.usageprofiles.TrieBasedModel; 
    8 import de.ugoe.cs.util.console.Console; 
    98 
    109/** 
     
    4544         */ 
    4645        @Override 
    47         public void help() { 
    48                 Console.println("Usage: trainPPM <modelName> <sequencesName> <probEscape> <maxOrder> {<minOrder>}"); 
     46        public String help() { 
     47                return "trainPPM <modelName> <sequencesName> <probEscape> <maxOrder> {<minOrder>}"; 
    4948        } 
    5049 
Note: See TracChangeset for help on using the changeset viewer.