How to disable upgrade check of lighting app

I am using lightning 2.1.2 right now. Everything time I run lightning in cli, e.g. lightning --help, it would always check new version first. How to disable this? Currently, I just simply commented out pytorch-lightning/src/lightning/app/cli/lightning_cli.py at 3368d16452308e0cc5b2660bb379e98cf019518b · Lightning-AI/pytorch-lightning · GitHub