Ignore:
Timestamp:
Sep 2, 2008, 5:48:43 AM (13 years ago)
Author:
Peter
Message:

refs #413

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/CommandLine.cc

    r1465 r1466  
    153153          }
    154154        }
     155        else {
     156          free_arg_.push_back(*arg);
     157          std::stringstream ss;
     158          ss << ": invalid option -- " << *arg << "\n"
     159             << try_help() << "\n";
     160          throw cmd_error(ss.str());
     161         
     162        }
    155163      }
    156164      for_each(options_.begin(),options_.end(),
Note: See TracChangeset for help on using the changeset viewer.