What's the difference between one-dash and two-dashes for command prompt parameters? was closed as 'not constructive'. I disagree. There is a difference, as explained on Unix.SE:
A double dash (--) is used in bash built-in commands and many other commands to signify the end of command options, after which only positional parameters are accepted.