The rust crate clap which is one of the more well known crates for command line parsing gets about 2M downloads a day and has this convention built in.
This convention existed before clap came into being, but I don't recall when I first saw it. I have been using the command line for just shy of 40 years across various operating systems.