There are plenty of times when it is desirable to exclude some paths under your src directory. In most cases, ignoring the .git directory would be desirable, for example.
Add two options - one for specific excludes e.g. --exclude .git, and one for excluding all dotfiles. Possibly add a third option as a heuristic to exclude common temp files (e.g. files ending with ~, .swp, etc.). The help file should list these exclusions.