Merge pull request #17324 from keszybz/resolvectl-compat-output

resolvectl compat output
This commit is contained in:
Lennart Poettering
2020-10-22 14:57:41 +02:00
committed by GitHub
9 changed files with 570 additions and 301 deletions

View File

@@ -59,6 +59,10 @@ static inline const char* true_false(bool b) {
return b ? "true" : "false";
}
static inline const char* plus_minus(bool b) {
return b ? "+" : "-";
}
static inline const char* one_zero(bool b) {
return b ? "1" : "0";
}