comipayan / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Should print help message and exit on unrecognized command-line options #122

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When processing command-line options, if Google Test encounters a --
gtest_... option that it doesn't recognize, it should print a help message 
(as --help, once that is implemented) and exit.

Original issue reported on code.google.com by josh...@gmail.com on 22 Feb 2009 at 10:10

GoogleCodeExporter commented 9 years ago

Original comment by zhanyong...@gmail.com on 26 Feb 2009 at 4:07

GoogleCodeExporter commented 9 years ago
HI, I would like to resolve this issue. I have read through of this section 
code. 

Original comment by xueyunlong@gmail.com on 10 Oct 2009 at 8:19

GoogleCodeExporter commented 9 years ago
refer to this patch 
http://codereview.appspot.com/135047/show

Original comment by xueyunlong@gmail.com on 20 Oct 2009 at 8:39

GoogleCodeExporter commented 9 years ago
The GNU convention is to separate options' words using hyphens instead of
underscores, and so sometimes I mistakenly use hyphens for Google Test flags 
(e.g.,
--gtest-filter instead of --gtest_filter).  I'd like to request that the patch 
print
help on --gtest- as well as --gtest_.

Original comment by josh...@gmail.com on 20 Oct 2009 at 12:16

GoogleCodeExporter commented 9 years ago
HI, please close this issue.
It has been repaired by this patch: http://codereview.appspot.com/135047/show

Original comment by xueyunlong@gmail.com on 3 Nov 2009 at 1:35

GoogleCodeExporter commented 9 years ago
Fixed in the trunk.

Original comment by w...@google.com on 10 Dec 2009 at 6:17