speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/2] fix long option name --config-dir instead of --config-file


From: Andrei Kholodnyi
Subject: [PATCH 2/2] fix long option name --config-dir instead of --config-file
Date: Wed, 10 Nov 2010 20:37:10 +0100

---
 src/server/options.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/server/options.c b/src/server/options.c
index 57a8a0f..d8c8131 100644
--- a/src/server/options.c
+++ b/src/server/options.c
@@ -46,7 +46,7 @@ static const struct option spd_long_options[] = {
     {"socket-path", 1, 0, 'S'},
     {"port", 1, 0, 'p'},
     {"pid-file", 1, 0, 'P'},
-    {"config-file", 1, 0, 'C'},
+    {"config-dir", required_argument, 0, 'C'},
     {"version", 0, 0, 'v'},
     {"debug", 0, 0, 'D'},
     {"help", 0, 0, 'h'},
-- 
1.6.0.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]