From: Adam Dickmeiss Date: Mon, 17 Sep 2012 12:45:03 +0000 (+0200) Subject: Actually obey option -w dir X-Git-Tag: v1.6.19~4 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=35714623860dd8ba20412c4cfbcf3a1a7ce89af8;p=pazpar2-moved-to-github.git Actually obey option -w dir Never worked in any Pazpar2 release. Thanks to Sven Porst for spotting that one. --- diff --git a/src/pazpar2.c b/src/pazpar2.c index 0d441b2..f1a24bc 100644 --- a/src/pazpar2.c +++ b/src/pazpar2.c @@ -118,7 +118,7 @@ static int sc_main( yaz_log_init_prefix("pazpar2"); yaz_log_xml_errors(0, YLOG_WARN); - while ((ret = options("dDf:h:l:p:R:tu:v:VX", argv, argc, &arg)) != -2) + while ((ret = options("dDf:h:l:p:R:tu:v:Vw:X", argv, argc, &arg)) != -2) { switch (ret) {