i am currently learning about IC physical design. I came across this set of TCL command which I understand only partially. I the second and third 'set' command, what does the '-only\_leaf' and '-flat' refer to?

Please help me by giving some explanation.

Thank you guys.
![enter image description here](https://i.stack.imgur.com/Z6tns.png)