Gergely Nagy <[email protected]> writes:

> Similar to systemctl man, implement the info and doc commands. The
> former will open the appropriate info page, the latter will open any
> http (or https) documentation via xdg-open.

FWIW, that patch was only compile-tested, but it should work.

Nevertheless, I was thinking that 3 different commands to display docs
might be a bit too much. Perhaps it could be condensed into a single
"doc" command, with --info, --man and --http or similar flags to select
what kind of documentation to display? (And by default, will prefer http
over info over man)

I can probably cook that up in a lunch break or so, but would rather
have other opinions before I do that, to see if it's worth the effort.

-- 
|8]

_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to