restrict list when using the -t flag