summaryrefslogtreecommitdiff
path: root/src/analyze
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-07-16 13:32:51 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-07-16 14:29:04 +0200
commit4252171a94a0c7cb8f9ee180977465dc4fc0ec8e (patch)
treef78e1b0be44fc63fa91ad93d531f65ddd896f75b /src/analyze
parentcd87f6340f94c029ab540f3460ae9a3b5cb13b10 (diff)
downloadsystemd-4252171a94a0c7cb8f9ee180977465dc4fc0ec8e.tar.gz
tree-wide: use lowercase table headers
https://github.com/systemd/systemd/pull/13062#discussion_r303847484 > the formatter uppercases them anyway, and this way the JSON output of the > formatter is nicer as it uses the table header fields 1:1 for the json > output.
Diffstat (limited to 'src/analyze')
-rw-r--r--src/analyze/analyze.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c
index e9e66b3da6..92727974d6 100644
--- a/src/analyze/analyze.c
+++ b/src/analyze/analyze.c
@@ -1080,7 +1080,7 @@ static int analyze_blame(int argc, char *argv[], void *userdata) {
if (n <= 0)
return n;
- table = table_new("TIME", "UNIT");
+ table = table_new("time", "unit");
if (!table)
return log_oom();
@@ -1733,7 +1733,7 @@ static int dump_timespan(int argc, char *argv[], void *userdata) {
return r;
}
- table = table_new("NAME", "VALUE");
+ table = table_new("name", "value");
if (!table)
return log_oom();
@@ -1805,7 +1805,7 @@ static int test_timestamp_one(const char *p) {
return r;
}
- table = table_new("NAME", "VALUE");
+ table = table_new("name", "value");
if (!table)
return log_oom();
@@ -1914,7 +1914,7 @@ static int test_calendar_one(usec_t n, const char *p) {
if (r < 0)
return log_error_errno(r, "Failed to format calendar specification '%s': %m", p);
- table = table_new("NAME", "VALUE");
+ table = table_new("name", "value");
if (!table)
return log_oom();