Commit 7feb76ce authored by Jiri Pirko's avatar Jiri Pirko Committed by Stephen Hemminger

add help command to bonding master

Signed-off-by: default avatarJiri Pirko <jiri@resnulli.us>
parent 620ddeda
......@@ -339,6 +339,9 @@ static int bond_parse_opt(struct link_util *lu, int argc, char **argv,
}
ad_select = get_index(ad_select_tbl, *argv);
addattr8(n, 1024, IFLA_BOND_AD_SELECT, ad_select);
} else if (matches(*argv, "help") == 0) {
explain();
return -1;
} else {
fprintf(stderr, "bond: unknown command \"%s\"?\n", *argv);
explain();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment