prevent memory leak

When specifying search with no parameters, it executes

find / -type f -exec grep -iH "" --color=auto -n {} \;

Which greps every file on the root partition (it bypasses the while loop), grinding the system to a halt. Specifying several case statements gives the expected behaviour (display usage) without affecting functionality.