summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorAndrew Sun <[email protected]>2020-12-01 18:22:51 -0500
committerGitHub <[email protected]>2020-12-01 15:22:51 -0800
commit95a78a035ae01b6ee79ac9ce6bad073bc3ebb3cf (patch)
tree88202be111b1ff39147f64e9030924c9c1bcfb46 /cmd
parentaa2778d1003af4601db77ae74b90d86454e5a37c (diff)
Make zpool status "remove:" label print in bold
When ZFS_COLOR is set, zpool status shows row headings in bold, except for the "remove:" heading. This is a quick fix that makes it print in bold too. Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Andrew Sun <[email protected]> Closes #11255
Diffstat (limited to 'cmd')
-rw-r--r--cmd/zpool/zpool_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zpool/zpool_main.c b/cmd/zpool/zpool_main.c
index 85c9abdf2..1e16c89ad 100644
--- a/cmd/zpool/zpool_main.c
+++ b/cmd/zpool/zpool_main.c
@@ -7595,7 +7595,7 @@ print_removal_status(zpool_handle_t *zhp, pool_removal_stat_t *prs)
vdev_name = zpool_vdev_name(g_zfs, zhp,
child[prs->prs_removing_vdev], B_TRUE);
- (void) printf(gettext("remove: "));
+ printf_color(ANSI_BOLD, gettext("remove: "));
start = prs->prs_start_time;
end = prs->prs_end_time;