From f7d3febcd600d67f81bfe299498b8a13741d2bd0 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Mon, 9 Jul 2012 17:00:45 +1000 Subject: Use explicit non-char opt for --zero-super As we don't allow '-K' for '--zero-super' there is no point using it internally. Just define a 'KillOpt' like with other options. Signed-off-by: NeilBrown --- ReadMe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ReadMe.c') diff --git a/ReadMe.c b/ReadMe.c index 1efc4470..fa71ec94 100644 --- a/ReadMe.c +++ b/ReadMe.c @@ -86,7 +86,7 @@ struct option long_options[] = { {"follow", 0, 0, 'F'}, {"grow", 0, 0, 'G'}, {"incremental",0,0, 'I'}, - {"zero-superblock", 0, 0, 'K'}, /* deliberately not a short_option */ + {"zero-superblock", 0, 0, KillOpt}, /* deliberately not a short_option */ {"query", 0, 0, 'Q'}, {"examine-bitmap", 0, 0, 'X'}, {"auto-detect", 0, 0, AutoDetect}, -- cgit v1.2.3