code: private Map<String, Option> toMap(CommandLine cl) {
          final Map<String, Option> opts = new HashMap<>();
          for (Option opt : cl.getOptions()) {
              opts.put(opt.getOpt(), opt);
          }
          return opts;
      }
docs: Creates a map of option short-names to the corresponding option instance.
  
  @param cl
  the command line containing the parsed option instances
  
  @return a map of parameter short namese to their corresponding option instance.