Changeset 36b128 for molecuilder/src
- Timestamp:
- Apr 29, 2008, 6:57:59 AM (17 years ago)
- Children:
- 7b1cea
- Parents:
- dac5c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/builder.cpp
rdac5c5 r36b128 725 725 output.close(); 726 726 output.clear(); 727 if (!strcmp(configuration->configpath, configuration->GetDefaultPath())) { 728 cerr << "WARNING: config is found under different path then stated in config file::defaultpath!" << endl; 729 } 727 730 }; 728 731 … … 773 776 case 'H': 774 777 case '?': 775 flag=2;776 778 cout << "MoleCuilder suite" << endl << "==================" << endl << endl; 777 779 cout << "Usage: " << argv[0] << "[-{acepsthH?vfrp}] [further arguments] [config file]" << endl; … … 787 789 cout << "\t-v/-V\t\tGives version information." << endl; 788 790 cout << "Note: config files must not begin with '-' !" << endl; 791 delete(mol); 792 delete(periode); 793 return (0); 789 794 break; 790 795 case 'v': 791 796 case 'V': 792 flag=2;793 797 cout << argv[0] << " " << VERSIONSTRING << endl; 794 798 cout << "Build your own molecule position set." << endl; 799 delete(mol); 800 delete(periode); 801 return (0); 795 802 break; 796 803 case 'e': … … 1005 1012 } else argptr++; 1006 1013 } while (argptr < (argc-1)); 1007 if (flag == 1) // 1 means save and exit1014 if (flag == 1) { // 1 means save and exit 1008 1015 SaveConfig(ConfigFileName, &configuration, periode, mol); 1009 if (flag > 1) { // 2 means just exit1010 1016 delete(mol); 1011 1017 delete(periode);
Note:
See TracChangeset
for help on using the changeset viewer.