/[ascend]/trunk/pygtk/gtkbrowser.py
ViewVC logotype

Diff of /trunk/pygtk/gtkbrowser.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2082 by jpye, Tue Jun 23 01:37:46 2009 UTC revision 2083 by jpye, Thu Sep 24 06:37:53 2009 UTC
# Line 126  class Browser: Line 126  class Browser:
126          # load the file referenced in the command line, if any          # load the file referenced in the command line, if any
127    
128          loading.print_status("Parsing options","CONFIG = %s"%config.VERSION)          loading.print_status("Parsing options","CONFIG = %s"%config.VERSION)
129    
130            #print "Command-line options:",sys.argv
131                    
132          parser = optparse.OptionParser(usage="%prog [[-m typename] file]", version="gtkbrowser $rev$" )          parser = optparse.OptionParser(usage="%prog [[-m typename] file]", version="gtkbrowser $rev$" )
133          # add options here if we want          # add options here if we want
134    
135            #print "About to parse..."
136    
137            if platform.system() == "Darwin":
138                parser.add_option("-p", "--silly-mac-thing"
139                    ,action="store", type="string", dest="process_number"
140                    ,help="Launch Services for Mac passes in a -psn-NNNNN argument that we need to swallow.")      
141    
142          parser.add_option("-m", "--model"          parser.add_option("-m", "--model"
143              ,action="store", type="string", dest="model"              ,action="store", type="string", dest="model"
144              ,help="specify the model to instantiate upon loading modules")                    ,help="specify the model to instantiate upon loading modules")      

Legend:
Removed from v.2082  
changed lines
  Added in v.2083

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22