Re: Problems formatting options in man page
Skip Montanaro <[email protected]>
| Newsgroups | gmane.text.docutils.user |
|---|---|
| Message-ID | <CANc-5UyvhDfdPZpxCyBmJq0eBUqNU2nCMpuhWpqDRMM9JjLgfg@mail.gmail.com> |
On Tue, Apr 8, 2014 at 12:37 PM, Skip Montanaro <[email protected]> wrote: > I have a script. When run with the -h flag it emits the script's doc string > formatted using rst. I want to process that output into man pages (using > rst2man). For the most part, that works just fine. But I'm having trouble > seeing how I'm supposed to indent multi-line descriptions of the script's > command line flags. I may have figured some/all of this out on my own, partly by tweaking the docstring, and partly by updating docutils (we had been running 0.8) and deleting the sed and grep scripts after rst2man. (I think the sed and grep commands were working around a bug in 0.8, but not doing a very good job.) Skip ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees