[systemd-devel] [PATCH] systemctl: Implement "info" and "doc" commands, similar to "man"

Lennart Poettering lennart at poettering.net
Thu May 31 04:42:52 PDT 2012


On Thu, 31.05.12 13:11, Gergely Nagy (algernon at balabit.hu) wrote:

> I'll prepare a patch that supports info too. Should it prefer man over
> info, or the other way around? Or open both in turn? Or make it
> selectable (while still preferring one over the other)?
> 
> Also, should it support stuff like:
> 
>  Documentation=info:blah#section name
> 
> Or only info:blah ?

I guess we should support al syntaxes that uri(7) lists. Which would be:

       info:virtual-filename
       info:virtual-filename#nodename
       info:(virtual-filename)
       info:(virtual-filename)nodename

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list