Skip to content

Commit

Permalink
docs: network ls add heading and anchor for "--no-trunc"
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastiaan van Stijn <[email protected]>
  • Loading branch information
thaJeztah committed Feb 21, 2025
1 parent 8a1b096 commit aad2ae5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/reference/commandline/network_ls.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>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 |


Expand All @@ -37,6 +37,8 @@ cf03ee007fb4 host host local
78b03ee04fc4 multi-host overlay swarm
```

### <a name="no-trunc"></a> List networks without truncating the ID column (--no-trun)

Use the `--no-trunc` option to display the full network id:

```console
Expand Down

0 comments on commit aad2ae5

Please sign in to comment.