machinectl: do not truncate addresses when --full is specified

This commit is contained in:
Yu Watanabe 2020-01-10 19:17:26 +09:00
parent bd17fa8cd8
commit 12845a91b5
2 changed files with 3 additions and 2 deletions

View file

@ -680,7 +680,8 @@
<term><option>-l</option></term>
<term><option>--full</option></term>
<listitem><para>Do not ellipsize process tree entries or table.</para>
<listitem><para>Do not ellipsize process tree entries or table. This implies
<option>--max-addresses=full</option>.</para>
</listitem>
</varlistentry>

View file

@ -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,