0

What is the importance of -- in terminal?

Say I have a command to install pygame : pip install -- user pygame What is the importance of "--"

14th Oct 2021, 12:48 AM
Richard
Richard - avatar
2 Respuestas
+ 3
It tells pip that what follows is an option, not the name of a package to install.
14th Oct 2021, 12:57 AM
Simon Sauter
Simon Sauter - avatar
0
'--' is for long options '-' is for short for example: gcc test.c -o test and pacman -S --noconfirm vlc
14th Oct 2021, 7:01 AM
Slick
Slick - avatar