diff mbox

[ndctl,1/7] ndctl, init-labels: fix '--label-version' option

Message ID 150403689570.8240.8554898211089265114.stgit@dwillia2-desk3.amr.corp.intel.com (mailing list archive)
State Accepted
Commit 25114695789e
Headers show

Commit Message

Dan Williams Aug. 29, 2017, 8:01 p.m. UTC
Kill the unnecessary double-dash characters in the definition of the
long option.

Cc: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
---
 ndctl/dimm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/ndctl/dimm.c b/ndctl/dimm.c
index 264917d05cc0..ee3b9979fa8c 100644
--- a/ndctl/dimm.c
+++ b/ndctl/dimm.c
@@ -952,7 +952,7 @@  OPT_STRING('i', "input", &param.infile, "input-file", \
 #define INIT_OPTIONS() \
 OPT_BOOLEAN('f', "force", &param.force, \
 		"force initialization even if existing index-block present"), \
-OPT_STRING('V', "--label-version", &param.labelversion, "version-number", \
+OPT_STRING('V', "label-version", &param.labelversion, "version-number", \
 	"namespace label specification version (default: 1.1)")
 
 static const struct option read_options[] = {