code: protected void opts(String[] opts) {
          if(opts.length < 1) {
              sendResponse(501, "Missing parameters");
              return;
          }
  
          String option = opts[0].toUpperCase();
  
          if(!options.containsKey(option)) {
              sendResponse(501, "No option found");
          } else if(opts.length < 2) {
              sendResponse(200, options.get(option));
          } else {
              options.put(option, opts[1].toUpperCase());
              sendResponse(200, "Option updated");
          }
      }
docs: OPTS command
  @param opts The option