resolvectl: use compat status string instead of a field-by-field table
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 11 Oct 2020 14:20:27 +0000 (16:20 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 20 Oct 2020 17:58:37 +0000 (19:58 +0200)
commitfe37e5a5d192ec55f87cd57893688a865b7f72d2
tree162c465cad3bbdb92fdb2d130fbf642215f797b5
parentaf781878d5986127ca00831c4b524c2b62649823
resolvectl: use compat status string instead of a field-by-field table

The status string is modeled after our --version output: +enabled -disabled equals=more-info

For example:
     Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=allow-downgrade/supported
src/basic/string-util.h
src/resolve/resolvectl.c