Sections
Timeline
View Tickets
New Ticket
Sub-Sections
Download
Unified Diff
Zip Archive
Metanav
Preferences
About Trac
Links
Slowchop Studios
Gerald Kaszuba
Advertisement

Changeset 71

Show
Ignore:
Timestamp:
06/07/08 11:17:33 (8 weeks ago)
Author:
gak
Message:

Renamed 'image-format' to 'output-file'

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/scripts/pycg

    r69 r71  
    3232 
    3333parser.add_option( 
     34    '-o', '--output-file', dest='output_file', default='pycg.png', 
     35    help='The generated GraphViz image. Default: pycg.png', 
     36    ) 
     37 
     38parser.add_option( 
    3439    '-f', '--image-format', dest='format', default='png', 
    3540    help='The image format of imagefile. Default: png', 
     
    3742 
    3843parser.add_option( 
    39     '-o', '--image-file', dest='image_file', default='pycg.png', 
    40     help='The output png file. Default: pycg.png', 
    41     ) 
    42  
    43 parser.add_option( 
    4444    '-q', '--quiet', dest='quiet', action='store_true', 
    45     help='Suppress output.', 
     45    help='Suppress status output to the console.', 
    4646    ) 
    4747 
     
    153153 
    154154if not options.quiet: 
    155     print('Creating %s' % options.image_file) 
     155    print('Creating %s' % options.output_file) 
    156156 
    157 pycallgraph.make_dot_graph(options.image_file, options.format, options.tool) 
     157pycallgraph.make_dot_graph(options.output_file, options.format, options.tool) 
    158158     
    159159if reraise: