From 12845a91b5c6360ab4a0dd04ea836d4bc9eaeba4 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 10 Jan 2020 19:17:26 +0900 Subject: [PATCH] machinectl: do not truncate addresses when --full is specified --- man/machinectl.xml | 3 ++- src/machine/machinectl.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/man/machinectl.xml b/man/machinectl.xml index bfabee346eb..5d7a14d2c74 100644 --- a/man/machinectl.xml +++ b/man/machinectl.xml @@ -680,7 +680,8 @@ - Do not ellipsize process tree entries or table. + Do not ellipsize process tree entries or table. This implies + . diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c index 2c2b13b86f0..4b4437f91d3 100644 --- a/src/machine/machinectl.c +++ b/src/machine/machinectl.c @@ -341,7 +341,7 @@ static int list_machines(int argc, char *argv[], void *userdata) { 0, "", " ", - arg_addrs, + arg_full ? ALL_IP_ADDRESSES : arg_addrs, &addresses); r = table_add_many(table, -- 2.47.3