From 9733c68e878869daec196bf7bca16780eef73f74 Mon Sep 17 00:00:00 2001 From: Mohit Agrawal Date: Wed, 29 Jun 2016 15:36:41 +0530 Subject: gluster v set help does not show ssl options Problem: "gluster v set help" does not show ssl options. Solution: Remove NO_DOC option for client.ssl/server.ssl from glusterd_volopt_map. Change-Id: Iabe982ea56398209bbf30d41260798e5ad7fce7b BUG: 1351134 Signed-off-by: Mohit Agrawal Reviewed-on: http://review.gluster.org/14829 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System Reviewed-by: Atin Mukherjee CentOS-regression: Gluster Build System --- xlators/mgmt/glusterd/src/glusterd-volume-set.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'xlators') diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 31273fb5cea..6de83a7ef4c 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -1654,8 +1654,9 @@ struct volopt_map_entry glusterd_volopt_map[] = { { .key = "client.ssl", .voltype = "protocol/client", .option = "transport.socket.ssl-enabled", - .type = NO_DOC, .op_version = 2, + .description = "enable/disable client.ssl flag in the " + "volume.", .flags = OPT_FLAG_CLIENT_OPT }, { .key = "network.remote-dio", @@ -1754,7 +1755,8 @@ struct volopt_map_entry glusterd_volopt_map[] = { { .key = "server.ssl", .voltype = "protocol/server", .option = "transport.socket.ssl-enabled", - .type = NO_DOC, + .description = "enable/disable server.ssl flag in the " + "volume.", .op_version = 2 }, { .key = "auth.ssl-allow", -- cgit