From 73d9a8ccb1c9290ab31abf9b7c3416df6c3eed1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20van=20Dorst?= Date: Mon, 31 Aug 2026 23:01:22 +0200 Subject: [PATCH] Fix VLAN command documentation. 'u'-suffix is not accepted anymore. --- cmd_parser.c | 2 +- doc/vlan.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd_parser.c b/cmd_parser.c index 66b05bde..dc56b8b1 100644 --- a/cmd_parser.c +++ b/cmd_parser.c @@ -541,7 +541,7 @@ void parse_vlan(void) } return; err: - print_string("Error: vlan (|show) [port][t/u]...\n"); + print_string("Error: vlan (|show) [port][t]...\n"); } diff --git a/doc/vlan.md b/doc/vlan.md index a3d50c74..907f94be 100644 --- a/doc/vlan.md +++ b/doc/vlan.md @@ -69,9 +69,9 @@ void vlan_delete(uint16_t vlan) __banked; # VLAN configuration on the Serial Console For testing the following commands are provided on the serial console: ``` -vlan p[t/u]... - create or set vlan with given ID and the list of ports as members, a t - behind a port defines the port as a tagged member, the u is optional +vlan p[t]... + create or set vlan with given ID and the list of ports as members, a `t` + behind a port defines the port as a tagged member. vlan d deletes the VLAN