What I like about this command is that you don't have to call up any GUI-type tools to quickly get a sense of what is going on from a memory perspective (see Listing 2).
To produce code that runs faster and is easy to maintain, it makes far more sense to use a hash table that stores the command-line options, then USES the hash to validate the user-specified input.