difference between - and -- in linux

Shell
So “—” in this case means “long form parameter name” and “-” means “abbreviated single-character parameter name (or names plural)”.-o value
--option=value
Source

Also in Shell: