Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 2024 19:33:31 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 7f73c0489508 - main - nvmfd: Correct usage description
Message-ID:  <202407251933.46PJXVYs042786@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407251933.46PJXVYs042786>