initctl: top:ify table headings, i.e. use captial letters

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2017-07-04 12:39:41 +02:00
parent c97e23bd58
commit 9bcb3e5778
+3 -3
View File
@@ -291,7 +291,7 @@ static int dump_one_cond(const char *fpath, const struct stat *sb, int tflag, st
static int do_cond_dump(char *arg)
{
printheader(NULL, "Condition Status", 0);
printheader(NULL, "CONDITION STATUS", 0);
if (nftw(_PATH_COND, dump_one_cond, 20, 0) == -1) {
warnx("Failed parsing %s", _PATH_COND);
@@ -306,7 +306,7 @@ static int do_cond_show(char *arg)
svc_t *svc;
enum cond_state cond;
printheader(NULL, "PID Service Status Condition (+ on, ~ flux, - off)", 0);
printheader(NULL, "PID SERVICE STATUS CONDITION (+ ON, ~ FLUX, - OFF)", 0);
for (svc = svc_iterator(1); svc; svc = svc_iterator(0)) {
if (!svc->cond[0])
@@ -492,7 +492,7 @@ static int show_status(char *arg)
}
if (!verbose)
printheader(NULL, "# Status PID Runlevels Service Description", 0);
printheader(NULL, "# STATUS PID RUNLEVELS SERVICE DESCRIPTION", 0);
for (svc = svc_iterator(1); svc; svc = svc_iterator(0)) {
char jobid[10], args[512] = "", *lvls;