Changeset 31c708
- Timestamp:
- Jun 8, 2012, 4:24:33 PM (13 years ago)
- Children:
- 027140
- Parents:
- f27baf
- File:
- 
      - 1 edited
 
 - 
          
  src/bin/mpqc/mpqc.cc (modified) (3 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      src/bin/mpqc/mpqc.ccrf27baf r31c708 233 233 options.enroll("o", GetLongOpt::MandatoryValue, 234 234 "the name of the output file", 0); 235 options.enroll("n", GetLongOpt::NoValue, 236 "listen for incoming object format input files", 0); 235 237 options.enroll("messagegrp", GetLongOpt::MandatoryValue, 236 238 "which message group to use", 0); … … 305 307 chdir(options.retrieve("W")); 306 308 309 // check that n and f/o are not given at the same time 310 if ((options.retrieve("n")) && ((options.retrieve("f")) || (options.retrieve("o")))) { 311 throw invalid_argument("-n must not be given with -f or -o"); 312 } 313 307 314 // initialize keyval input 308 315 const char *object_input = options.retrieve("f"); … … 337 344 if (object_input) input = object_input; 338 345 if (generic_input) input = generic_input; 346 339 347 340 348 Ref<ParsedKeyVal> parsedkv; 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
