am.add("alias", "org.jnode.test.shell.MyAliasCommand");
aliasCompletions = new String[]{"alias ", "cat ", "cpuid ", "dir ", "duh ", "gc ", "set "};
SyntaxManager sm = this.getSyntaxManager();
sm.add(new SyntaxBundle("set",
new SequenceSyntax(new ArgumentSyntax("key"), new ArgumentSyntax("value"))));
sm.add(new SyntaxBundle("duh", new ArgumentSyntax("path")));
sm.add(new SyntaxBundle("cpuid", new SequenceSyntax()));
sm.add(new SyntaxBundle("alias",
new EmptySyntax(null, "Print all available aliases and corresponding classnames"),
new SequenceSyntax(null, "Set an aliases for given classnames",
new ArgumentSyntax("alias"), new ArgumentSyntax("classname")),
new OptionSyntax("remove", 'r', null, "Remove an alias")));
}