From: Adam Dickmeiss Date: Wed, 20 Feb 2008 10:49:49 +0000 (+0000) Subject: help to stderr X-Git-Tag: METAPROXY.1.0.13~14 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=e1a663095b0b1ac8b605a3b5a1e3cbac6d3d6eed;p=metaproxy-moved-to-github.git help to stderr --- diff --git a/src/metaproxy_prog.cpp b/src/metaproxy_prog.cpp index 7af3f33..f9ee154 100644 --- a/src/metaproxy_prog.cpp +++ b/src/metaproxy_prog.cpp @@ -1,4 +1,4 @@ -/* $Id: metaproxy_prog.cpp,v 1.11 2008-02-20 10:28:23 adam Exp $ +/* $Id: metaproxy_prog.cpp,v 1.12 2008-02-20 10:49:49 adam Exp $ Copyright (c) 2005-2008, Index Data. This file is part of Metaproxy. @@ -41,13 +41,13 @@ int main(int argc, char **argv) const char *fname = 0; int ret; char *arg; - while ((ret = options("h{help}V{version}c{config}:", argv, argc, &arg)) - != -2) + while ((ret = options("h{help}V{version}c{config}:", + argv, argc, &arg)) != -2) { switch (ret) { case 'h': - std::cout << "metaproxy\n" + std::cerr << "metaproxy\n" " -h|--help help\n" " -V|--version version\n" " -c|--config config filename\n"