git: 7f73c0489508 - main - nvmfd: Correct usage description
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Jul 2024 19:33:31 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=7f73c048950852e6088fa1aaa0a91c41ddcef3a1
commit 7f73c048950852e6088fa1aaa0a91c41ddcef3a1
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2024-07-25 19:32:44 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-07-25 19:32:44 +0000
nvmfd: Correct usage description
During development the command line options for PDU digests for
nvmecontrol(8) and nvmfd(8) were renamed to align with Linux's nvme(1)
command, but the usage description in nvmfd(8) had a mix of the old
and new options.
Sponsored by: Chelsio Communications
---
usr.sbin/nvmfd/nvmfd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/usr.sbin/nvmfd/nvmfd.c b/usr.sbin/nvmfd/nvmfd.c
index 6fce21b07b74..cce7a88706d2 100644
--- a/usr.sbin/nvmfd/nvmfd.c
+++ b/usr.sbin/nvmfd/nvmfd.c
@@ -36,8 +36,8 @@ static volatile bool quit = false;
static void
usage(void)
{
- fprintf(stderr, "nvmfd -K [-FGg] [-P port] [-p port] [-t transport] [-n subnqn]\n"
- "nvmfd [-dDFH] [-P port] [-p port] [-t transport] [-n subnqn]\n"
+ fprintf(stderr, "nvmfd -K [-dFGg] [-P port] [-p port] [-t transport] [-n subnqn]\n"
+ "nvmfd [-dFGg] [-P port] [-p port] [-t transport] [-n subnqn]\n"
"\tdevice [device [...]]\n"
"\n"
"Devices use one of the following syntaxes:\n"