On 2009-05-11, Timmie wrote:

> Hello,
> can the autodoc/autosummary be extended to show command line options?

Should be very easy if you use an option list:

> I would like to document command line scripts:

> print.py --help

> Autodoc could then parse the CLI scripts with the --help option and
> show its options in the docuemnted files.

Why not simply run

  print.py --help
  
and include the output in the rst source?


Günter


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to