The general parameter parsing error message in parse_region_options()
was copied from the initial "disable-region" command implementation. Fix
it up to be more general and valid for all region commands.

Signed-off-by: Dan Williams <[email protected]>
---
 ndctl/region.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ndctl/region.c b/ndctl/region.c
index 1402a7548be8..9fc90808e338 100644
--- a/ndctl/region.c
+++ b/ndctl/region.c
@@ -44,7 +44,7 @@ static const char *parse_region_options(int argc, const char 
**argv,
         argc = parse_options(argc, argv, region_options, u, 0);
 
        if (argc == 0)
-               error("specify a region to delete, or \"all\"\n");
+               error("specify a specific region id to act on, or \"all\"\n");
        for (i = 1; i < argc; i++)
                error("unknown extra parameter \"%s\"\n", argv[i]);
        if (argc == 0 || argc > 1) {

_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm

Reply via email to