code: func PruneFilters(dockerCli Cli, pruneFilters filters.Args) filters.Args {
  	if dockerCli.ConfigFile() == nil {
  		return pruneFilters
  	}
  	for _, f := range dockerCli.ConfigFile().PruneFilters {
  		parts := strings.SplitN(f, "=", 2)
  		if len(parts) != 2 {
  			continue
  		}
  		if parts[0] == "label" {
  			// CLI label filter supersede config.json.
  			// If CLI label filter conflict with config.json,
  			// skip adding label! filter in config.json.
  			if pruneFilters.Contains("label!") && pruneFilters.ExactMatch("label!", parts[1]) {
  				continue
  			}
  		} else if parts[0] == "label!" {
  			// CLI label! filter supersede config.json.
  			// If CLI label! filter conflict with config.json,
  			// skip adding label filter in config.json.
  			if pruneFilters.Contains("label") && pruneFilters.ExactMatch("label", parts[1]) {
  				continue
  			}
  		}
  		pruneFilters.Add(parts[0], parts[1])
  	}
  
  	return pruneFilters
  }
docs: // PruneFilters returns consolidated prune filters obtained from config.json and cli