]> www.infradead.org Git - users/sagi/libnvme.git/commit
examples/mi-mctp: Add subcommand support
authorJeremy Kerr <jk@codeconstruct.com.au>
Wed, 15 Sep 2021 09:27:30 +0000 (17:27 +0800)
committerJeremy Kerr <jk@codeconstruct.com.au>
Thu, 9 Jun 2022 11:06:51 +0000 (19:06 +0800)
commitef90bc1bf37f8392805baf3fc717378458cb68c4
tree0887e1affc8df2f9457ae2fbb371d4acabc94b59
parent9bd757cdecff62fb1316c5fee88a6ecc1408c852
examples/mi-mctp: Add subcommand support

A future change will introduce further mi commands, and admin channel
commands, so we'll want a way to invoke mi-mctp to perform these
additional commands.

This change introduces an <action> argument, which currently defaults to
the existing 'info' action.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
examples/mi-mctp.c