I've seen many command line tools that take a "--" argument. For example:
gem install mysql -- —–with-mysql-config=/usr/local/mysql/bin/mysql_config
What does it stand for? Does it have a special meaning?
This is common practice when one program, that takes long options, needs to call another program that also takes long options. It signals the first program to stop parsing options, and pass the rest on, unchanged, to the subprocess that it invokes.
It means the tool should stop treating the dash as an option character. For example, suppose you want to search for a dash character in a file:
In your example the