changeset 20783:43054dc84abd

config: mention edit options and config topic in help
author Matt Mackall <mpm@selenic.com>
date Tue, 18 Mar 2014 18:57:19 -0500
parents 13fcb9ca9ccc
children 7f7c8ef31c5d
files mercurial/commands.py
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Tue Mar 18 18:49:30 2014 -0500
+++ b/mercurial/commands.py	Tue Mar 18 18:57:19 2014 -0500
@@ -1477,10 +1477,17 @@
     With multiple arguments, print names and values of all config
     items with matching section names.
 
+    With --edit, start an editor on the user-level config file. With
+    --global, edit the system-wide config file. With --local, edit the
+    repository-level config file.
+
     With --debug, the source (filename and line number) is printed
     for each config item.
 
+    See :hg:`help config` for more information about config files.
+
     Returns 0 on success.
+
     """
 
     if opts.get('edit') or opts.get('local') or opts.get('global'):