Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 532
    • Issues 532
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 100
    • Merge requests 100
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • BINDBIND
  • Issues
  • #1633

Closed
Open
Created Feb 21, 2020 by JP Mens@jpmensContributor

Can query flags in +yaml be made a list?

Description

In dig's new YAML output (+yaml), the query flags are reported as a string (e.g. flags: qr rd ra ad)

"flags": "qr rd ra ad"

Request

I think it'd be more natural to have them returned as a list (e.g. flags: [ qr, rd, ra, ad ]) which would result in

"flags": [ "qr", "rd", "ra", "ad" ]

The benefit I see is that this change would make it easier to find out programatically whether a specific flag is set.

Links / references

Edited Feb 21, 2020 by JP Mens
Assignee
Assign to
Time tracking