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/java-utils/src/main/java/de/ugoe/cs/util/console/Command.java

    r175 r664  
    2727        /** 
    2828         * <p> 
    29          * Sends information about how to use a command to the console. 
     29         * Returns a string the contains information about how to use the command. 
    3030         * </p> 
     31         * @return help string 
    3132         */ 
    32         public void help(); 
     33        public String help(); 
    3334} 
Note: See TracChangeset for help on using the changeset viewer.