pint.error --no-color config
! stdout .
cmp stderr stderr.txt

-- stderr.txt --
level=info msg="Loading configuration file" path=.pint.hcl
level=fatal msg="Fatal error" error="failed to load config file \".pint.hcl\": empty name regex"
-- .pint.hcl --
rule {
  match {
    kind = "recording"
  }
  aggregate "" {
    keep = [ "job" ]
  }
}
