[sheepdog] [PATCH v5 2/3] sheep: rename --enable-cache as --cache

Liu Yuan namei.unix at gmail.com
Fri Jul 12 08:46:12 CEST 2013


Signed-off-by: Liu Yuan <namei.unix at gmail.com>
---
 sheep/sheep.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sheep/sheep.c b/sheep/sheep.c
index c9f17c2..70717cd 100644
--- a/sheep/sheep.c
+++ b/sheep/sheep.c
@@ -118,7 +118,7 @@ static struct sd_option sheep_options[] = {
 	{'r', "http", true, "enable http service", http_help},
 	{'u', "upgrade", false, "upgrade to the latest data layout"},
 	{'v', "version", false, "show the version"},
-	{'w', "enable-cache", true, "enable object cache", cache_help},
+	{'w', "cache", true, "enable object cache", cache_help},
 	{'y', "myaddr", true, "specify the address advertised to other sheep",
 	 myaddr_help},
 	{'z', "zone", true, "specify the zone id", zone_help},
-- 
1.7.9.5




More information about the sheepdog mailing list