Skip to content

Commit

Permalink
Merge pull request #3178 from grondo/issue#2942
Browse files Browse the repository at this point in the history
flux-module: extend first column of flux-module list output
  • Loading branch information
mergify[bot] committed Aug 31, 2020
2 parents 034884e + 5b5d7d6 commit fadc20a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmd/flux-module.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ char lsmod_state_char (int state)

void lsmod_print_header (FILE *f)
{
fprintf (f, "%-20s %8s %-7s %4s %c %s\n",
fprintf (f, "%-24s %8s %-7s %4s %c %s\n",
"Module", "Size", "Digest", "Idle", 'S', "Service");
}

Expand All @@ -473,7 +473,7 @@ void lsmod_print_entry (FILE *f,
char *serv_s = lsmod_services_string (services, name);
char idle_s[16];

fprintf (f, "%-20.20s %8d %7s %4s %c %s\n",
fprintf (f, "%-24.24s %8d %7s %4s %c %s\n",
name,
size,
digest_len > 7 ? digest + digest_len - 7 : digest,
Expand Down

0 comments on commit fadc20a

Please sign in to comment.