Long options
Single-letter options are convenient since they are quick to write and use, butas there are only a limited number of letters in the alphabet and there aremany things to control, not all options are available like that. Long optionnames are therefore provided for those. Also, as a convenience and to allowscripts to become more readable, most short options have longer namealiases.
Long options are always written withtwo minuses (ordashes, whichever youprefer to call them) and then the name and you can only write one option nameper double-minus. Asking for verbose mode using the long option format lookslike:
curl --verbose http://example.com
and asking for HTTP redirects as well using the long format looks like:
curl --verbose --location http://example.com