Skip to content

Commit

Permalink
libibverbs: Fix ibv_devinfo help message
Browse files Browse the repository at this point in the history
By default, ibv_devinfo will list all the RDMA devices in the system.

Signed-off-by: Kamal Heib <[email protected]>
  • Loading branch information
Kamalheib committed Jun 28, 2023
1 parent ecd604b commit 6604cdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libibverbs/examples/devinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ static void usage(const char *argv0)
printf("Usage: %s print the ca attributes\n", argv0);
printf("\n");
printf("Options:\n");
printf(" -d, --ib-dev=<dev> use IB device <dev> (default first device found)\n");
printf(" -d, --ib-dev=<dev> use IB device <dev> (default all devices)\n");
printf(" -i, --ib-port=<port> use port <port> of IB device (default all ports)\n");
printf(" -l, --list print only the IB devices names\n");
printf(" -v, --verbose print all the attributes of the IB device(s)\n");
Expand Down
2 changes: 1 addition & 1 deletion libibverbs/man/ibv_devinfo.1
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Print information about RDMA devices available for use from userspace.
.PP
.TP
\fB\-d\fR, \fB\-\-ib\-dev\fR=\fIDEVICE\fR
use IB device \fIDEVICE\fR (default first device found)
use IB device \fIDEVICE\fR (default all devices)

\fB\-i\fR, \fB\-\-ib\-port\fR=\fIPORT\fR
query port \fIPORT\fR (default all ports)
Expand Down

0 comments on commit 6604cdf

Please sign in to comment.