Ticket #16 (closed enhancement: fixed)
Allow command line options to called scripts
| Reported by: | anonymous | Owned by: | gak |
|---|---|---|---|
| Priority: | major | Component: | general |
| Version: | 0.5.0 | Keywords: | |
| Cc: |
Description
I was amazed at how simple it was to install and use pycallgraph. Just one suggestion.
It would be very helpful if you could specify sys.argv to the called script on the command line. That way I wouldn't have to make a new script file for every set of options. If you put the output filename before the scriptfile you could feed the rest of the command line to the called script. For example:
pycallgraph-dot.py test1.png myscript.py --spam=42 ham.txt eggs.txt
Attachments
Change History
Note: See
TracTickets for help on using
tickets.