Author: mav
Date: Mon Aug 12 18:59:20 2019
New Revision: 350943
URL: https://svnweb.freebsd.org/changeset/base/350943

Log:
  MFC r350462: Tune some commands desctiption.

Modified:
  stable/12/sbin/nvmecontrol/devlist.c
  stable/12/sbin/nvmecontrol/firmware.c
  stable/12/sbin/nvmecontrol/format.c
  stable/12/sbin/nvmecontrol/perftest.c
  stable/12/sbin/nvmecontrol/reset.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sbin/nvmecontrol/devlist.c
==============================================================================
--- stable/12/sbin/nvmecontrol/devlist.c        Mon Aug 12 18:58:51 2019        
(r350942)
+++ stable/12/sbin/nvmecontrol/devlist.c        Mon Aug 12 18:59:20 2019        
(r350943)
@@ -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: stable/12/sbin/nvmecontrol/firmware.c
==============================================================================
--- stable/12/sbin/nvmecontrol/firmware.c       Mon Aug 12 18:58:51 2019        
(r350942)
+++ stable/12/sbin/nvmecontrol/firmware.c       Mon Aug 12 18:59:20 2019        
(r350943)
@@ -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: stable/12/sbin/nvmecontrol/format.c
==============================================================================
--- stable/12/sbin/nvmecontrol/format.c Mon Aug 12 18:58:51 2019        
(r350942)
+++ stable/12/sbin/nvmecontrol/format.c Mon Aug 12 18:59:20 2019        
(r350943)
@@ -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: stable/12/sbin/nvmecontrol/perftest.c
==============================================================================
--- stable/12/sbin/nvmecontrol/perftest.c       Mon Aug 12 18:58:51 2019        
(r350942)
+++ stable/12/sbin/nvmecontrol/perftest.c       Mon Aug 12 18:59:20 2019        
(r350943)
@@ -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: stable/12/sbin/nvmecontrol/reset.c
==============================================================================
--- stable/12/sbin/nvmecontrol/reset.c  Mon Aug 12 18:58:51 2019        
(r350942)
+++ stable/12/sbin/nvmecontrol/reset.c  Mon Aug 12 18:59:20 2019        
(r350943)
@@ -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,
 };
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to