[Nut-upsdev] Embedding man pages in driver source code

Charles Lepple clepple at gmail.com
Mon Sep 7 22:04:26 UTC 2009


On Mon, Sep 7, 2009 at 3:52 PM, Arnaud Quette<aquette.dev at gmail.com> wrote:
>
> 2009/9/7 Charles Lepple <clepple at gmail.com>
>
>> Could you provide an example of how you would use that for the man page?
>
> in fact looking at the example shows that it's currently not possible.
> ex with "usbhid-ups -L"
[...]
> the manpage clearly wins the verbosity round.

Agreed.

> I was also thinking about adding an option ("-I" or "-d" => driver-info) to
> display the content of upsdrv_info. This seems still applicable for AUTHOR,
> NAME, DESCRIPTION and possibly some more...

OK.

Any preference as to where we put the AsciiDoc source for the man
pages? It could make sense to consolidate everything under doc/ (e.g.
doc/man/)

-- 
- Charles Lepple



More information about the Nut-upsdev mailing list