dhelp_parse(8)
β¨ dhelp_parse β the Debian online help parser, bestie π
okay so you're looking at dhelp_parse, section 8 of the Debian Linux manual. she's a little parser, she's a little icon, and she's here to register your docs. let's get into it π
πΈ SYNOPSIS
dhelp_parse [ -r | -i | -a doc-base_file | -d doc-base_file ]
that's the whole vibe. pick one, babe. π
π¦ DESCRIPTION
so what is this girl doing?? This program is used by package developers to register the documents included in a package. no cap. that's the whole job.
In most cases it is called by install-docs (see the doc-base package), which in turn is called from the postinst and prerm scripts of a Debian package. so likeβ¦ it's usually the girl behind the girl, yk? iykyk π
An index of the registered documents is written in the directory /usr/share/doc/HTML. that's where the magic lives, fr fr β¨
π OPTIONS π
okay bestie, here's the menu. every single one, no skipping:
-h,--helpβ Displays the help page. simple. iconic. she's telling you how to use her π«Ά-aβ Adds the documentation found in the given doc-base files to the dhelp database. the "put it in" button. π-dβ Deletes the documentation found in the given doc-base files from the dhelp database. the "take it out" button. bye bestie π-iβ Does an incremental update of the documents index for all documentation added with the-aswitch after the last index update. it's giving "catch up on everything you missed" π-rβ Ignored, kept for compatibility. she's literally just standing there. she's a legacy queen and we respect her π
π PACKAGE DEVELOPERS π
okay so real talk: You should usually rely on install-docs to do the work for you, but if for some reason you want to use dhelp_parse directly β and heads up, not recommended! β you have to call it like this:
postinst
if [ -x /usr/sbin/dhelp_parse ]; then
dhelp_parse -a /var/lib/doc-base/documents/foo
fi
prerm
if [ -x /usr/sbin/dhelp_parse ]; then
dhelp_parse -d /var/lib/doc-base/documents/foo
fi
Note that /var/lib/doc-base/documents/foo has to be a valid doc-base file (see the doc-base documentation). like, it has to actually be valid, bestie, no pretending π
π SEE ALSO
go read those too, they're the supporting cast and they ate π
π AUTHOR
This package was written by Esteban Manchado VelΓ‘zquez (zoso@debian.org). we love a legend, periodt π«Ά
and that's the tea β β this page came to you from Debian, dated <b>29 May 2008</b>. yes she's vintage, yes she still slays. mwah πβ¨
π¦ where this page comes from
- debian bookworm: dhelp 0.6.30
- debian trixie: dhelp 0.6.31
- ubuntu jammy: dhelp 0.6.27
- ubuntu noble: dhelp 0.6.30
- ubuntu questing: dhelp 0.6.31
- ubuntu resolute: dhelp 0.6.32
- ubuntu stonking: dhelp 0.6.32
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms