Here is an updated version of my patch. I think I have addressed all your points. I have also implemented Daniel's suggestion that it should use '+' before each command to indicate the nesting depth. Sorry this has taken a while. I have been busy with other things. :ADDPATCH CLI: Andrew Stubbs