Changeset 1397:d7e25df22e88 in lemon for lemon/arg_parser.cc
- Timestamp:
- 10/15/18 23:39:22 (6 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/arg_parser.cc
r956 r1397 222 222 { 223 223 Opts::iterator o = _opts.find(opt); 224 Opts::iterator s = _opts.find(syn);225 224 LEMON_ASSERT(o!=_opts.end(), "Unknown option: '"+opt+"'"); 226 LEMON_ASSERT(s==_opts.end(), "Option already used: '"+syn+"'"); 225 LEMON_ASSERT(_opts.find(syn)==_opts.end(), 226 "Option already used: '"+syn+"'"); 227 227 ParData p; 228 228 p.help=opt;
Note: See TracChangeset
for help on using the changeset viewer.