Skip to content

Commit e2fe78c

Browse files
committed
mctp: Add help for 'mctp link serial'
The 'mctp link help' output doesn't include the serial command; this change adds a line describing it. Reported-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
1 parent de8c678 commit e2fe78c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mctp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,7 @@ static int cmd_link(struct ctx *ctx, int argc, const char **argv)
677677
fprintf(stderr, "%s link\n", ctx->top_cmd);
678678
fprintf(stderr, "%s link show [ifname]\n", ctx->top_cmd);
679679
fprintf(stderr, "%s link set <ifname> [up|down] [mtu <mtu>] [network <net>] [bus-owner <physaddr>]\n", ctx->top_cmd);
680+
fprintf(stderr, "%s link serial <device>\n", ctx->top_cmd);
680681
return 255;
681682
}
682683

0 commit comments

Comments
 (0)