]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
networkctl: label command does not take any argument
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 27 Aug 2020 07:32:13 +0000 (16:32 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 27 Aug 2020 07:32:13 +0000 (16:32 +0900)
src/network/networkctl.c

index 2178b5799e5cc482a81b73c80518b0120e5392e4..2e89f2d50b7b32a65c81cd6d600656f8b7466712 100644 (file)
@@ -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        },