grep -e '--' file.txt
Na página man do grep:
-e PATTERN, --regexp=PATTERN
Use PATTERN as the pattern. This can be used to specify multiple search patterns, or to
protect a pattern beginning with a hyphen (-). (-e is specified by POSIX.)