Bugs item #2956574, was opened at 2010-02-22 14:24 Message generated for change (Comment added) made by cornuz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2956574&group_id=56967
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core Group: Clients "stable" Status: Open Resolution: None Priority: 5 Private: No Submitted By: Roberto Cornacchia (cornuz) Assigned to: Nobody/Anonymous (nobody) Summary: 'mclients --help' returns 255 Initial Comment: The error code of mclient --help is 255. This is unusual, as no error occurred and also not in line with mserver5 and Mserver, which return 0 on --help. ---------------------------------------------------------------------- >Comment By: Roberto Cornacchia (cornuz) Date: 2010-02-22 16:33 Message: If you use incorrect options in mserver5, you still get the help message - which is what you want in mclient right? Is '-? ' alternative spelling in mclient necessary? ---------------------------------------------------------------------- Comment By: Sjoerd Mullender (sjoerd) Date: 2010-02-22 16:27 Message: This is not as easy to do correctly as it sounds. The problem is, we use -? as alternative spelling for --help. This means that getopt returns '?' if you pass --help or -? as an option. But '?' is also returned for an incorrect option. Only in the former case should we exit with exit status 0, in the latter case we should exit with exit status != 0. But there doesn't seem to be a way to distinguish between the two cases. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2956574&group_id=56967 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Monetdb-bugs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/monetdb-bugs
