Commit f03f5346 authored by Dries Kimpe's avatar Dries Kimpe
Browse files

Make scripts/search-source.sh handle leading dash

parent 901091ca
......@@ -7,4 +7,4 @@ else
fi
cd $DIR
find . -iname \*.h -o -iname \*.c -o -iname \*.cpp -o -iname \*.hh | xargs grep "$*"
find . -iname \*.h -o -iname \*.c -o -iname \*.cpp -o -iname \*.hh | xargs grep -- "$*"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment