about summary refs log tree commit homepage
path: root/cmogstored.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-03-14 17:53:30 -0700
committerEric Wong <normalperson@yhbt.net>2012-03-14 17:53:30 -0700
commitfcbe015155f0cbbfc45a152192f5bd6a9c6b03b8 (patch)
treec856ac1881dc4811952a4d04ecd6188b58824dbe /cmogstored.c
parent340ea0d698b7b9f6197d4caaeaac6c0e7a603301 (diff)
downloadcmogstored-fcbe015155f0cbbfc45a152192f5bd6a9c6b03b8.tar.gz
We'll ensure "server=none" setups will disable HTTP support
entirely.
Diffstat (limited to 'cmogstored.c')
-rw-r--r--cmogstored.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmogstored.c b/cmogstored.c
index e7e7d50..4bebf66 100644
--- a/cmogstored.c
+++ b/cmogstored.c
@@ -44,7 +44,9 @@ static struct argp_option options[] = {
         { .name = "pidfile", .key = CFG_KEY(pidfile),
           .arg = "<path>",
           .doc = "path to PID file" },
-        { .name = "server", .key = CFG_KEY(server), .flags = OPTION_HIDDEN },
+        { .name = "server", .key = CFG_KEY(server), .flags = OPTION_HIDDEN,
+          .arg = "(perlbal|none)"
+        },
         {
           /* hidden for now, don't break compat with Perl mogstored */
           .name = "multi", .key = 'M', .flags = OPTION_HIDDEN