$ curl cheat.sh/
# mandb
# Manage the pre-formatted manual page database.
# More information: <https://man7.org/linux/man-pages/man8/mandb.8.html>.

# Purge and process manual pages:
mandb

# Update a single entry:
mandb --filename path/to/file

# Create entries from scratch instead of updating:
mandb --create

# Only process user databases:
mandb --user-db

# Do not purge obsolete entries:
mandb --no-purge

# Check the validity of manual pages:
mandb --test

$
Follow @igor_chubin cheat.sh tldr