--only is a flag that takes in a comma-separated list of file path substrings. The naming of the --only flag does not reflect quite well what it is for. Changing the name to --extension (-e) could help clarify the purpose of the flag.
See this discussion for reference