# HG changeset patch # User Martin Geisler # Date 2009-06-24 16:40:13 # Node ID ea798e03a32e09adc3d42c3e02dccf1a328bab19 # Parent 1de6e7e1bb9fbce6059eba6fecca7eb17db16722 commands: add "--" to command line flag in branches docstring diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -440,7 +440,7 @@ def branches(ui, repo, active=False): """list repository named branches List the repository's named branches, indicating which ones are - inactive. If active is specified, only show active branches. + inactive. If -a/--active is specified, only show active branches. A branch is considered active if it contains repository heads.