Whamcloud - gitweb
LU-12845 utils: fix typos in 'lctl pcc' help 16/36416/2
authorJames Nunez <jnunez@whamcloud.com>
Wed, 9 Oct 2019 20:26:20 +0000 (14:26 -0600)
committerOleg Drokin <green@whamcloud.com>
Wed, 16 Oct 2019 01:32:18 +0000 (01:32 +0000)
The help message for 'lctl pcc ...' has typos that
should be corrected.

Test-Parameters: trivial
Signed-off-by: James Nunez <jnunez@whamcloud.com>
Change-Id: I880a126d38a7cf9b2fc65d1a05a5d4eb554be1e5
Reviewed-on: https://review.whamcloud.com/36416
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Reviewed-by: Yingjin Qian <qian@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/lctl.c
lustre/utils/obd.c

index 8504c72..4fb7071 100644 (file)
@@ -383,10 +383,10 @@ command_t cmdlist[] = {
        {"=== Persistent Client Cache ===", NULL, 0, "PCC user management"},
        {"pcc", jt_pcc, pccdev_cmdlist,
         "lctl commands used to interact with PCC features:\n"
        {"=== Persistent Client Cache ===", NULL, 0, "PCC user management"},
        {"pcc", jt_pcc, pccdev_cmdlist,
         "lctl commands used to interact with PCC features:\n"
-        "lclt pcc add    - add a PCC backend to a client\n"
-        "lclt pcc del    - delete a PCC backend on a client\n"
-        "lclt pcc clear  - remove all PCC backends on a client\n"
-        "lclt pcc list   - list all PCC backends on a client\n"},
+        "lctl pcc add    - add a PCC backend to a client\n"
+        "lctl pcc del    - delete a PCC backend on a client\n"
+        "lctl pcc clear  - remove all PCC backends on a client\n"
+        "lctl pcc list   - list all PCC backends on a client\n"},
 
        /* Device configuration commands */
        {"== device setup (these are not normally used post 1.4) ==",
 
        /* Device configuration commands */
        {"== device setup (these are not normally used post 1.4) ==",
index 123a5f9..f3294ff 100644 (file)
@@ -5451,7 +5451,7 @@ int jt_pcc_add(int argc, char **argv)
 
        if (optind + 2 != argc) {
                fprintf(stderr,
 
        if (optind + 2 != argc) {
                fprintf(stderr,
-                       "%s: must speficy mount path and PCC path %d:%d\n",
+                       "%s: must specify mount path and PCC path %d:%d\n",
                        jt_cmdname(argv[0]), optind, argc);
                return CMD_HELP;
        }
                        jt_cmdname(argv[0]), optind, argc);
                return CMD_HELP;
        }