Hacker News new | comments | show | ask | jobs | submit login

It means "everything past here should not be parsed as a - or -- flag". If you have a file named "-l", then ls -- -l will show you that file, instead of doing a long listing.

It should be noted that not all flag parsers support it. But most people use getopt so it's not a big deal.

Thanks- that's really useful.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact