Around this time, a further convention was added: an argument of two dashes
only (--) as a way to say that no further options to the command being invoked
would follow. I believe this was another GNU change, but I have no evidence.

This is useful to, say, be able to remove a file with name that starts with a
dash:

$ rm -- -f

For rm, it was always possible to provide a fully qualified path, starting from
the root directory, or to prefix the filename with a directory---rm ./-f---and
so this convention is not necessary for removing files. However, given all
GNU programs use the same function for command line parsing, rm gets it for
free. Other Unix variants may not have that support, though, so users need to
be careful.

The double dash is more useful for other situations, such as when invoking a
program that invokes another program. An example is the cargo tool for the Rust
language. To build and run a program and tell it to report its version, you
would use the following command:

$ cargo run -- --version

Without the double dash, you would be telling cargo to report its version.
