aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2022-01-07 05:59:18 +0000
committerScott Long <scottl@FreeBSD.org>2022-01-07 05:59:18 +0000
commit638e2a132e38b51b385b2731822294c73621aea9 (patch)
tree40bb3cb3b41ca93c3535bdce6f2d171d722c1e5e /usr.sbin
parentf84135f699995c7c035bd6bed75cb7c4c169918e (diff)
downloadsrc-638e2a132e38b51b385b2731822294c73621aea9.tar.gz
src-638e2a132e38b51b385b2731822294c73621aea9.zip
Fix formatting of the usage() output
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/mpsutil/mps_slot.c2
-rw-r--r--usr.sbin/mpsutil/mpsutil.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/mpsutil/mps_slot.c b/usr.sbin/mpsutil/mps_slot.c
index bb4a7324c461..396d5706cd5f 100644
--- a/usr.sbin/mpsutil/mps_slot.c
+++ b/usr.sbin/mpsutil/mps_slot.c
@@ -113,4 +113,4 @@ slot_set(int argc, char **argv)
}
MPS_COMMAND(slot, set, slot_set, "status <enclosure handle> <slot number> "
- "<status>", "Set status of the slot in the directly attached enclosure");
+ "<status>", "\n Set status of the slot in the directly attached enclosure");
diff --git a/usr.sbin/mpsutil/mpsutil.c b/usr.sbin/mpsutil/mpsutil.c
index 51fad0c9b981..cb9563cefa60 100644
--- a/usr.sbin/mpsutil/mpsutil.c
+++ b/usr.sbin/mpsutil/mpsutil.c
@@ -65,10 +65,10 @@ usage(void)
} else {
(*cmd)->handler(&args, &desc);
if (strncmp((*cmd)->set, "top", 3) == 0)
- fprintf(stderr, "%s %-30s\t%s\n",
+ fprintf(stderr, "%-16s %-28s%s\n",
(*cmd)->name, args, desc);
else
- fprintf(stderr, "%s %s %-30s\t%s\n",
+ fprintf(stderr, "%-5s %-10s %-28s%s\n",
(*cmd)->set, (*cmd)->name, args, desc);
}
}
@@ -87,7 +87,7 @@ version(int ac, char **av)
return (0);
}
-MPS_COMMAND(top, version, version, "", "version")
+MPS_COMMAND(top, version, version, "", "Version number")
int
main(int ac, char **av)