diff --git a/man/networkctl.xml b/man/networkctl.xml index bd958fb1e01..5a6ca5ab275 100644 --- a/man/networkctl.xml +++ b/man/networkctl.xml @@ -255,6 +255,7 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR) delete + DEVICE… Deletes virtual netdevs. Takes interface name or index number. @@ -262,6 +263,7 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR) up + DEVICE… Bring devices up. Takes interface name or index number. @@ -269,6 +271,7 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR) down + DEVICE… Bring devices down. Takes interface name or index number. @@ -276,6 +279,7 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR) renew + DEVICE… Renew dynamic configurations e.g. addresses received from DHCP server. Takes interface name or index number. @@ -284,6 +288,7 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR) forcerenew + DEVICE… Send a FORCERENEW message to all connected clients, triggering DHCP reconfiguration. Takes interface name or index number. @@ -292,6 +297,7 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR) reconfigure + DEVICE… Reconfigure network interfaces. Takes interface name or index number. diff --git a/src/network/networkctl.c b/src/network/networkctl.c index 2178b5799e5..2e89f2d50b7 100644 --- a/src/network/networkctl.c +++ b/src/network/networkctl.c @@ -2794,7 +2794,7 @@ static int networkctl_main(int argc, char *argv[]) { { "list", VERB_ANY, VERB_ANY, VERB_DEFAULT, list_links }, { "status", VERB_ANY, VERB_ANY, 0, link_status }, { "lldp", VERB_ANY, VERB_ANY, 0, link_lldp_status }, - { "label", VERB_ANY, VERB_ANY, 0, list_address_labels }, + { "label", 1, 1, 0, list_address_labels }, { "delete", 2, VERB_ANY, 0, link_delete }, { "up", 2, VERB_ANY, 0, link_up_down }, { "down", 2, VERB_ANY, 0, link_up_down },