comparison 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
comparison
equal deleted inserted replaced
35067:71e63fe6b1ab 35068:b0262b25ab48
224 helptable = sorted([ 224 helptable = sorted([
225 (['bundlespec'], _("Bundle File Formats"), loaddoc('bundlespec')), 225 (['bundlespec'], _("Bundle File Formats"), loaddoc('bundlespec')),
226 (['color'], _("Colorizing Outputs"), loaddoc('color')), 226 (['color'], _("Colorizing Outputs"), loaddoc('color')),
227 (["config", "hgrc"], _("Configuration Files"), loaddoc('config')), 227 (["config", "hgrc"], _("Configuration Files"), loaddoc('config')),
228 (["dates"], _("Date Formats"), loaddoc('dates')), 228 (["dates"], _("Date Formats"), loaddoc('dates')),
229 (["flags"], _("Command-line flags"), loaddoc('flags')),
229 (["patterns"], _("File Name Patterns"), loaddoc('patterns')), 230 (["patterns"], _("File Name Patterns"), loaddoc('patterns')),
230 (['environment', 'env'], _('Environment Variables'), 231 (['environment', 'env'], _('Environment Variables'),
231 loaddoc('environment')), 232 loaddoc('environment')),
232 (['revisions', 'revs', 'revsets', 'revset', 'multirevs', 'mrevs'], 233 (['revisions', 'revs', 'revsets', 'revset', 'multirevs', 'mrevs'],
233 _('Specifying Revisions'), loaddoc('revisions')), 234 _('Specifying Revisions'), loaddoc('revisions')),