From aad2ae50e81766617823745555567310c92799d3 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 21 Feb 2025 23:51:04 +0100 Subject: [PATCH] docs: network ls add heading and anchor for "--no-trunc" Signed-off-by: Sebastiaan van Stijn --- docs/reference/commandline/network_ls.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/reference/commandline/network_ls.md b/docs/reference/commandline/network_ls.md index 31e1501ac6..ff3b4001cc 100644 --- a/docs/reference/commandline/network_ls.md +++ b/docs/reference/commandline/network_ls.md @@ -13,7 +13,7 @@ List networks |:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [`-f`](#filter), [`--filter`](#filter) | `filter` | | Provide filter values (e.g. `driver=bridge`) | | [`--format`](#format) | `string` | | Format output using a custom template:
'table': Print output in table format with column headers (default)
'table TEMPLATE': Print output in table format using the given Go template
'json': Print in JSON format
'TEMPLATE': Print output using the given Go template.
Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates | -| `--no-trunc` | `bool` | | Do not truncate the output | +| [`--no-trunc`](#no-trunc) | `bool` | | Do not truncate the output | | `-q`, `--quiet` | `bool` | | Only display network IDs | @@ -37,6 +37,8 @@ cf03ee007fb4 host host local 78b03ee04fc4 multi-host overlay swarm ``` +### List networks without truncating the ID column (--no-trun) + Use the `--no-trunc` option to display the full network id: ```console