Way to check what mysql config used

Recently I needed to know if mysql is using any config (.cfg) except default one (/etc/my.cfg).
This command allows to check things quickly:

strace mysql ";" 2>&1 | grep cnf