Changeset 2844


Ignore:
Timestamp:
Sep 21, 2012, 1:38:11 PM (10 years ago)
Author:
Peter
Message:

add test for #723 and implement a fix. Fixes #723

Location:
branches/0.9-stable
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/0.9-stable/test/Makefile.am

    r2841 r2844  
    7171
    7272DISTRIBUTED_TESTS = \
     73test/cmd_test.sh \
    7374test/doxygen_test.sh \
    7475test/help_test.sh \
     
    104105
    105106# dependencies for lazycheck
     107test/cmd_test.log: test/help.test test/common_defs.sh
    106108test/help_test.log: test/help.test test/common_defs.sh
    107109test/static_test.log: $(srcdir)/m4/yat.m4 test/common_defs.sh
  • branches/0.9-stable/yat/utility/CommandLine.cc

    r2609 r2844  
    176176        iter->second->parse(arg, last);
    177177    }           
    178     else if (iter==long_options_.end()) {
     178    if (iter==long_options_.end()) {
    179179      std::stringstream ss3;
    180180      ss3 << "unrecognized option `" << key << "'\n" << try_help();
Note: See TracChangeset for help on using the changeset viewer.