The checking for command line flags --version, --showpath, and one or two others was inside #if CHDIR. I don't know whether anyone ever disables that configuration option, but it shouldn't control whether those flags are handled.
The checking for command line flags --version, --showpath, and one or two others was inside #if CHDIR. I don't know whether anyone ever disables that configuration option, but it shouldn't control whether those flags are handled.