Changeset 9495


Ignore:
Timestamp:
Dec 16, 2014 12:17:37 AM (4 years ago)
Author:
wehart
Message:

Resolving #4568

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyomo/trunk/pyomo/scripting/pyomo_command.py

    r9483 r9495  
    334334def run_pyomo(options=Options(), parser=None):
    335335    data = Options(options=options)
    336 
    337     #if options.version:
    338     #    from pyomo.util import driver
    339     #    driver.version_exec(None)
    340     #    return 0
    341336    #
    342337    if options.help_solvers:
     
    347342    if options.help_components:
    348343        pyomo.scripting.util.print_components(data)
     344        return Container()
     345    #
     346    if options.model_file == '':
     347        parser.print_help()
    349348        return Container()
    350349    #
Note: See TracChangeset for help on using the changeset viewer.