Changeset 01ea374 in sasmodels


Ignore:
Timestamp:
Mar 22, 2017 11:44:07 PM (7 months ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, costrafo411, doc_update, flexible-cylinder, ticket-776-orientation
Children:
68dd6a9
Parents:
67595af
Message:

sascomp: add -help option equivalent to -html for showing model help

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/compare.py

    rf72d70a r01ea374  
    8383    -edit starts the parameter explorer 
    8484    -default/-demo* use demo vs default parameters 
    85     -html shows the model docs instead of running the model 
     85    -help/-html shows the model docs instead of running the model 
    8686    -title="note" adds note to the plot title, after the model name 
    8787 
     
    829829    'linear', 'log', 'q4', 
    830830    'hist', 'nohist', 
    831     'edit', 'html', 
     831    'edit', 'html', 'help', 
    832832    'demo', 'default', 
    833833    ]) 
     
    996996        elif arg == '-default':    opts['use_demo'] = False 
    997997        elif arg == '-html':    opts['html'] = True 
     998        elif arg == '-help':    opts['html'] = True 
    998999    # pylint: enable=bad-whitespace 
    9991000 
Note: See TracChangeset for help on using the changeset viewer.