bridge: Use consistent column names in vlan output
Fix singular vs plural. Add a hyphen to clarify that each of those are single fields. Signed-off-by: Benjamin Poirier <bpoirier@cumulusnetworks.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
7ae84fedcb
commit
594b2d7799
|
|
@ -538,9 +538,9 @@ static int vlan_show(int argc, char **argv, int subject)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_json_context()) {
|
if (!is_json_context()) {
|
||||||
printf("port\tvlan ids");
|
printf("port\tvlan-id");
|
||||||
if (subject == VLAN_SHOW_TUNNELINFO)
|
if (subject == VLAN_SHOW_TUNNELINFO)
|
||||||
printf("\ttunnel id");
|
printf("\ttunnel-id");
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -559,7 +559,7 @@ static int vlan_show(int argc, char **argv, int subject)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_json_context())
|
if (!is_json_context())
|
||||||
printf("%-16s vlan id\n", "port");
|
printf("%-16s vlan-id\n", "port");
|
||||||
|
|
||||||
if (rtnl_dump_filter(&rth, print_vlan_stats, stdout) < 0) {
|
if (rtnl_dump_filter(&rth, print_vlan_stats, stdout) < 0) {
|
||||||
fprintf(stderr, "Dump terminated\n");
|
fprintf(stderr, "Dump terminated\n");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue