tg-info.sh: new --leaves option