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-plugin-guitar/src/main/java/de/ugoe/cs/quest/plugin/guitar/commands/CMDefgToMM.java

    r434 r664  
    88import de.ugoe.cs.quest.usageprofiles.FirstOrderMarkovModel; 
    99import de.ugoe.cs.util.console.Command; 
    10 import de.ugoe.cs.util.console.Console; 
    1110 
    1211/** 
     
    4948         */ 
    5049        @Override 
    51         public void help() { 
    52                 Console.println("Usage: efgToMM <filename> <modelname>"); 
     50        public String help() { 
     51                return "efgToMM <filename> <modelname>"; 
    5352        } 
    5453 
Note: See TracChangeset for help on using the changeset viewer.