I've tried googling the subject, but didn't know the technical name to search for. How do you allow console apps to have switches like "myprogram.exe -x whatever"?