hg-help(1)

hg-help1

Show help for a given topic or a help overview

Usage

hg help [-eck] [-s PLATFORM] [TOPIC]

Overview

With no arguments, print a list of commands with short help messages.

Given a topic, extension, or command name, print help for that topic.

Returns 0 if successful.

Options

-e, --extension

show only help for extensions

-c, --command

show only help for commands

-k, --keyword

show topics matching keyword

-s,--system <PLATFORM[+]>

show help for specific platform(s)

[+] marked option can be specified multiple times

From mercurial 7.2.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.