Changeset f8084c in git


Ignore:
Timestamp:
Jul 16, 2020, 12:35:46 PM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
Children:
9f5139b304c21512ae02736dd78a1c4d88752fb1
Parents:
d1427e8e231c18706dc3c73a81f9bc51fd94fc5a
Message:
IntegerProgramming: removed --help option
Location:
IntegerProgramming
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • IntegerProgramming/change_cost.cc

    rd1427e8 rf8084c  
    190190  }
    191191
    192 
    193 /////////////////////// provide help text ///////////////////////////////////
    194 
    195192  // handle the case of "missing" arguments
    196193
    197   if((argc==2) && !strcmp(argv[1],"--help"))
    198     // help required
    199   {
    200     system("less change_cost.hlp");
    201     return 0;
    202   }
    203 
    204   else
    205194    // invalid arguments
    206195    cerr<<"USAGE: change_cost [options] groebner_file new_cost_file"<<endl
  • IntegerProgramming/solve_IP.cc

    rd1427e8 rf8084c  
    277277  }
    278278
    279 
    280 /////////////////////// provide help text ///////////////////////////////////
    281 
    282279  // handle the case of "missing" arguments
    283 
    284   if((argc==2) && !strcmp(argv[1],"--help"))
    285     // help required
    286   {
    287     system("less solve_IP.hlp");
    288     return 0;
    289   }
    290 
    291   else
    292280    // invalid arguments
    293281    cerr<<"USAGE: solve_IP [options] toric_file problem_file\n"
  • IntegerProgramming/toric_ideal.cc

    rd1427e8 rf8084c  
    238238  }
    239239
    240 
    241 /////////////////////// provide help text ///////////////////////////////////
    242 
    243240  // handle the case of "missing" arguments
    244 
    245   if((argc==2) && !strcmp(argv[1],"--help"))
    246     // help required
    247   {
    248     system("less toric_ideal.hlp");
    249     return 0;
    250   }
    251 
    252   else
    253241    // invalid arguments
    254242    cerr<<"USAGE: toric_ideal [options] matrix_file"<<endl
Note: See TracChangeset for help on using the changeset viewer.