Change node to tree option as flag.

Signed-off-by: Toha <tohenk@yahoo.com>