Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jul 2019 04:19:53 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r350462 - head/sbin/nvmecontrol
Message-ID:  <201907310419.x6V4JrPE019207@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Wed Jul 31 04:19:53 2019
New Revision: 350462
URL: https://svnweb.freebsd.org/changeset/base/350462

Log:
  Tune some commands desctiption.
  
  MFC after:	2 weeks

Modified:
  head/sbin/nvmecontrol/devlist.c
  head/sbin/nvmecontrol/firmware.c
  head/sbin/nvmecontrol/format.c
  head/sbin/nvmecontrol/perftest.c
  head/sbin/nvmecontrol/reset.c

Modified: head/sbin/nvmecontrol/devlist.c
==============================================================================
--- head/sbin/nvmecontrol/devlist.c	Wed Jul 31 03:48:48 2019	(r350461)
+++ head/sbin/nvmecontrol/devlist.c	Wed Jul 31 04:19:53 2019	(r350462)
@@ -53,7 +53,7 @@ static cmd_fn_t devlist;
 static struct cmd devlist_cmd = {
 	.name = "devlist",
 	.fn = devlist,
-	.descr = "Display a list of NVMe controllers and namespaces."
+	.descr = "List NVMe controllers and namespaces"
 };
 
 CMD_COMMAND(devlist_cmd);

Modified: head/sbin/nvmecontrol/firmware.c
==============================================================================
--- head/sbin/nvmecontrol/firmware.c	Wed Jul 31 03:48:48 2019	(r350461)
+++ head/sbin/nvmecontrol/firmware.c	Wed Jul 31 04:19:53 2019	(r350462)
@@ -87,7 +87,7 @@ static const struct args firmware_args[] = {
 static struct cmd firmware_cmd = {
 	.name = "firmware",
 	.fn = firmware,
-	.descr = "Download firmware image to controller.",
+	.descr = "Download firmware image to controller",
 	.ctx_size = sizeof(opt),
 	.opts = firmware_opts,
 	.args = firmware_args,

Modified: head/sbin/nvmecontrol/format.c
==============================================================================
--- head/sbin/nvmecontrol/format.c	Wed Jul 31 03:48:48 2019	(r350461)
+++ head/sbin/nvmecontrol/format.c	Wed Jul 31 04:19:53 2019	(r350462)
@@ -76,19 +76,19 @@ static struct options {
 static const struct opts format_opts[] = {
 #define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc }
 	OPT("crypto", 'C', arg_none, opt, Cflag,
-	    "Crptographically erase user data by forgetting key"),
+	    "Crptographic erase"),
 	OPT("erase", 'E', arg_none, opt, Eflag,
-	    "Erase user data"),
+	    "User data erase"),
 	OPT("lbaf", 'f', arg_uint32, opt, lbaf,
-	    "Set the LBA Format to apply to the media"),
+	    "LBA Format to apply to the media"),
 	OPT("ms", 'm', arg_uint32, opt, ms,
-	    "Slot to activate and/or download format to"),
+	    "Metadata settings"),
 	OPT("pi", 'p', arg_uint32, opt, pi,
-	    "Slot to activate and/or download format to"),
+	    "Protective information"),
 	OPT("pil", 'l', arg_uint32, opt, pil,
-	    "Slot to activate and/or download format to"),
+	    "Protective information location"),
 	OPT("ses", 's', arg_uint32, opt, ses,
-	    "Slot to activate and/or download format to"),
+	    "Secure erase settings"),
 	{ NULL, 0, arg_none, NULL, NULL }
 };
 #undef OPT
@@ -101,7 +101,7 @@ static const struct args format_args[] = {
 static struct cmd format_cmd = {
 	.name = "format",
 	.fn = format,
-	.descr = "Format/erase one or all the namespaces.",
+	.descr = "Format/erase one or all the namespaces",
 	.ctx_size = sizeof(opt),
 	.opts = format_opts,
 	.args = format_args,

Modified: head/sbin/nvmecontrol/perftest.c
==============================================================================
--- head/sbin/nvmecontrol/perftest.c	Wed Jul 31 03:48:48 2019	(r350461)
+++ head/sbin/nvmecontrol/perftest.c	Wed Jul 31 04:19:53 2019	(r350462)
@@ -99,7 +99,7 @@ static const struct args perftest_args[] = {
 static struct cmd perftest_cmd = {
 	.name = "perftest",
 	.fn = perftest,
-	.descr = "Perform low-level driver performance testing.",
+	.descr = "Perform low-level performance testing",
 	.ctx_size = sizeof(opt),
 	.opts = perftest_opts,
 	.args = perftest_args,

Modified: head/sbin/nvmecontrol/reset.c
==============================================================================
--- head/sbin/nvmecontrol/reset.c	Wed Jul 31 03:48:48 2019	(r350461)
+++ head/sbin/nvmecontrol/reset.c	Wed Jul 31 04:19:53 2019	(r350462)
@@ -69,7 +69,7 @@ reset(const struct cmd *f, int argc, char *argv[])
 static struct cmd reset_cmd = {
 	.name = "reset",
 	.fn = reset,
-	.descr = "Perform a controller-level reset.",
+	.descr = "Perform a controller-level reset",
 	.args = args,
 };
 



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