Skip to content

Commit

Permalink
mvnd status output columns are too narrow, fixes #518 (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Dec 6, 2021
1 parent ad70393 commit 00a404c
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -195,9 +195,9 @@ public ExecutionResult execute(ClientOutput output, List<String> argv) {

try (DaemonRegistry registry = new DaemonRegistry(parameters.registry())) {
if (Environment.STATUS.removeCommandLineOption(args) != null) {
final String template = "%8s %7s %5s %7s %5s %23s %s";
final String template = "%8s %7s %24s %7s %5s %23s %s";
output.accept(Message.log(String.format(template,
"ID", "PID", "Port", "Status", "RSS", "Last activity", "Java home")));
"ID", "PID", "Address", "Status", "RSS", "Last activity", "Java home")));
for (DaemonInfo d : registry.getAll()) {
if (ProcessHandle.of(d.getPid()).isEmpty()) {
/* The process does not exist anymore - remove it from the registry */
Expand Down

0 comments on commit 00a404c

Please sign in to comment.