def option_compare ( opt_form, opt_app )
      case opt_form[:t]
      when OPTION_PREFIX_SHORT
        return true if opt_form[:n][0, opt_app.shortname.length] == opt_app.shortname
      when OPTION_PREFIX_LONG
	return true if opt_form[:n].split('=')[0] == opt_app.longname
      end
      return false
    end
def option_compare ( opt_form, opt_app )
      case opt_form[:t]
      when OPTION_PREFIX_SHORT
        return true if opt_form[:n][0, opt_app.shortname.length] == opt_app.shortname
      when OPTION_PREFIX_LONG
	return true if opt_form[:n].split('=')[0] == opt_app.longname
      end
      return false
    end
Compare parsing option (form by getopt) with application option.
 Return true if options is equal, else return false.
 opt_form -- object formed by getopt.
 opt_app  -- application option object.