The two-level nature of command line argument processing makes full validation of command line arguments quite difficult to implement. However a partial solution is better than nothing. Let's add a new options, for instance, -D that checks whether the name is present in a whitelist and rejects the rest.
-D is already used -- it is a synonym for -d This kind of thing might be part of our documentation improvement effort. The importance of command line argument validation is sort of waning as the use of Ghostscript (and GhostPDL) shifts to the newer API functions such as gsapi_set_param using the JavaScript, Java, python, or C# bindings.
*** Bug 703242 has been marked as a duplicate of this bug. ***