From: <cr...@us...> - 2008-04-25 13:12:01
|
Revision: 4021 http://jnode.svn.sourceforge.net/jnode/?rev=4021&view=rev Author: crawley Date: 2008-04-25 06:11:59 -0700 (Fri, 25 Apr 2008) Log Message: ----------- Converted NamepaceCommand. Modified Paths: -------------- trunk/shell/descriptors/org.jnode.shell.command.xml trunk/shell/src/shell/org/jnode/shell/command/NamespaceCommand.java Modified: trunk/shell/descriptors/org.jnode.shell.command.xml =================================================================== --- trunk/shell/descriptors/org.jnode.shell.command.xml 2008-04-25 12:01:06 UTC (rev 4020) +++ trunk/shell/descriptors/org.jnode.shell.command.xml 2008-04-25 13:11:59 UTC (rev 4021) @@ -174,6 +174,7 @@ </sequence> </syntax> <syntax alias="memory" description="Show JNode memory usage"/> + <syntax alias="namespace" description="Print the contents of the system namespace"/> <syntax alias="run" description="Run a command file"> <argument argLabel="file"/> </syntax> Modified: trunk/shell/src/shell/org/jnode/shell/command/NamespaceCommand.java =================================================================== --- trunk/shell/src/shell/org/jnode/shell/command/NamespaceCommand.java 2008-04-25 12:01:06 UTC (rev 4020) +++ trunk/shell/src/shell/org/jnode/shell/command/NamespaceCommand.java 2008-04-25 13:11:59 UTC (rev 4021) @@ -28,15 +28,15 @@ import org.jnode.naming.InitialNaming; import org.jnode.shell.AbstractCommand; import org.jnode.shell.CommandLine; -import org.jnode.shell.help.Help; /** * @author epr */ public class NamespaceCommand extends AbstractCommand { - public static Help.Info HELP_INFO = new Help.Info("namespace", - "Print the contents of the system namespace"); + public NamespaceCommand() { + super("Print the contents of the system namespace"); + } public static void main(String[] args) throws Exception { new NamespaceCommand().execute(args); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |