diff mercurial/help.py @ 35068:b0262b25ab48

help: adding a topic on flags This is a short topic to explain how command-line flags can be specified. Some users have been confused by hg offerring different flag syntax than some other libraries, so it'd be nice to point them to this rather than explaining it every time. Differential Revision: https://phab.mercurial-scm.org/D1270
author Rodrigo Damazio Bovendorp <rdamazio@google.com>
date Mon, 30 Oct 2017 20:35:30 -0700
parents fb7f58daca48
children 7f410793c04d
line wrap: on
line diff
--- a/mercurial/help.py	Fri Oct 06 05:47:56 2017 +0530
+++ b/mercurial/help.py	Mon Oct 30 20:35:30 2017 -0700
@@ -226,6 +226,7 @@
     (['color'], _("Colorizing Outputs"), loaddoc('color')),
     (["config", "hgrc"], _("Configuration Files"), loaddoc('config')),
     (["dates"], _("Date Formats"), loaddoc('dates')),
+    (["flags"], _("Command-line flags"), loaddoc('flags')),
     (["patterns"], _("File Name Patterns"), loaddoc('patterns')),
     (['environment', 'env'], _('Environment Variables'),
      loaddoc('environment')),