Using Nsight Systems to profile GPU workload

In nsight 2023.3.1 , one option is outdated.

nsys profile -w true -t cuda,nvtx,cudnn,cublas --capture-range=cudaProfilerApi --stop-on-range-end=true -x true -o 512 python ladies_e2e.py
unrecognised option '--stop-on-range-end=true'

usage: nsys profile [<args>] [application] [<application args>]
Try 'nsys profile --help' for more information.