#3: Please output help on STDOUT, not STDERR ------------------------------------------+--------------------------------- Reporter: Micha Lenk <[EMAIL PROTECTED]> | Owner: martin Type: defect | Status: new Priority: major | Milestone: Component: libchipcard | Version: Keywords: | ------------------------------------------+--------------------------------- Hi Martin,
apparently all tools installed in $prefix/bin/ output their usage information on STDERR instead of STDOUT. This has been reported as Debian Bug !#346556 some time ago, but has never been forwarded to you (please accept my apologies for this). I attached a patch against the current SVN rev. 463 which should fix this. Moreover this patch solves following somewhat related, but not really important issues: * make use of macro GWEN_ARGS_RESULT_HELP instead of using hardcoded -2 * make use of otherwise unused function usage() in cardcommander.cpp During fixing these bugs I discovered following issues (not neccessary an error): * chipcard-tool does not have a usage() function and outputs the raw options only. This is somewhat ugly and -- more important -- does not give any information about the possible commands. I would be glad if this could be fixed too. * src/tools/kvkcard/main.c:152 talks about !KVKCard3, shouldn't it be !KVKCard (without "3")? * src/tools/memcard/main.c:156 talks about !MemCard2, shouldn't it be !MemCard (without "2")? -- Ticket URL: <https://devel.aqbanking.de/trac/libchipcard/ticket/3> Libchipcard <http://www.libchipcard.de/> A library for easy access to chipcards