diff --git a/mercurial/commands.py b/mercurial/commands.py
index 13fcb9ca9ccc7654ae90d06ec10004a24cef07d2_bWVyY3VyaWFsL2NvbW1hbmRzLnB5..43054dc84abd65e8c6f5dd93cf96e54ecf2b2612_bWVyY3VyaWFsL2NvbW1hbmRzLnB5 100644
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -1477,6 +1477,10 @@
     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.
 
@@ -1480,4 +1484,6 @@
     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.
@@ -1483,4 +1489,5 @@
     Returns 0 on success.
+
     """
 
     if opts.get('edit') or opts.get('local') or opts.get('global'):