Skip to content

Commit 594c0e2

Browse files
author
Ralph Castain
committed
Retain the max terminal length of 78 characters, replace the word "disabled" with a simple "-" and hope people know what that means
Signed-off-by: Ralph Castain <[email protected]>
1 parent 8f52696 commit 594c0e2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

opal/runtime/opal_info_support.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ static void opal_info_show_mca_group_params(const mca_base_var_group_t *group, m
672672
}
673673

674674
if (opal_info_pretty && curr_group != group) {
675-
asprintf(&message, "MCA%s %s%s", requested ? "" : " (disabled)",
675+
asprintf(&message, "MCA%s %s%s", requested ? "" : " (-)",
676676
group->group_framework,
677677
component_msg ? component_msg : "");
678678
opal_info_out(message, message, "---------------------------------------------------");
@@ -687,7 +687,7 @@ static void opal_info_show_mca_group_params(const mca_base_var_group_t *group, m
687687

688688
for (j = 0 ; strings[j] ; ++j) {
689689
if (0 == j && opal_info_pretty) {
690-
asprintf (&message, "MCA%s %s%s", requested ? "" : " (disabled)",
690+
asprintf (&message, "MCA%s %s%s", requested ? "" : " (-)",
691691
group->group_framework,
692692
component_msg ? component_msg : "");
693693
opal_info_out(message, message, strings[j]);
@@ -718,7 +718,7 @@ static void opal_info_show_mca_group_params(const mca_base_var_group_t *group, m
718718
}
719719

720720
if (opal_info_pretty && curr_group != group) {
721-
asprintf(&message, "MCA%s %s%s", requested ? "" : " (disabled)",
721+
asprintf(&message, "MCA%s %s%s", requested ? "" : " (-)",
722722
group->group_framework,
723723
component_msg ? component_msg : "");
724724
opal_info_out(message, message, "---------------------------------------------------");
@@ -733,7 +733,7 @@ static void opal_info_show_mca_group_params(const mca_base_var_group_t *group, m
733733

734734
for (j = 0 ; strings[j] ; ++j) {
735735
if (0 == j && opal_info_pretty) {
736-
asprintf (&message, "MCA%s %s%s", requested ? "" : " (disabled)",
736+
asprintf (&message, "MCA%s %s%s", requested ? "" : " (-)",
737737
group->group_framework,
738738
component_msg ? component_msg : "");
739739
opal_info_out(message, message, strings[j]);
@@ -848,8 +848,8 @@ static char *escape_quotes(const char *value)
848848
* Private variables - set some reasonable screen size defaults
849849
*/
850850

851-
static int centerpoint = 36;
852-
static int screen_width = 82;
851+
static int centerpoint = 24;
852+
static int screen_width = 78;
853853

854854
/*
855855
* Prints the passed message in a pretty or parsable format.

0 commit comments

Comments
 (0)