+ } else if ( command == "dump" ) {
+ strstream buf;
+ if ( tokens.size() <= 1 ) {
+ writeProperties ( buf, node);
+ io->writestring( buf.str() );
+ }
+ else {
+ SGPropertyNode *child = node->getNode(tokens[1]);
+ if ( child ) {
+ writeProperties ( buf, child );
+ io->writestring( buf.str() );
+ } else {
+ tokens[1] += " Not Found\n";
+ io->writestring( tokens[1].c_str() );
+ }
+ }