logoalt Hacker News

badc0ffeeyesterday at 3:44 PM2 repliesview on HN

Typically you can use the -- arg to indicate that everything to the right should not be interpreted as a switch.


Replies

IsTomyesterday at 9:39 PM

Yes, but typically people are not doing this on every command and if you're globbing files it'll get used as flag.

PhilipRomanyesterday at 3:55 PM

and for programs that don't respect this convention ./--file