Check for argv after parsing flags.
Found by scan-build.