mercurial/commands.py
changeset 9839 0a3fc37261ab
parent 9831 9ebad1b93456
child 9857 24bc6e414610
--- a/mercurial/commands.py	Thu Nov 12 12:05:43 2009 +0100
+++ b/mercurial/commands.py	Thu Nov 12 13:43:36 2009 +0100
@@ -1551,12 +1551,6 @@
             else:
                 ui.write(' %-*s   %s\n' % (m, f, util.wrap(h[f], m + 4)))
 
-        if name != 'shortlist':
-            exts, maxlength = extensions.enabled()
-            text = help.listexts(_('enabled extensions:'), exts, maxlength)
-            if text:
-                ui.write("\n%s\n" % minirst.format(text, textwidth))
-
         if not ui.quiet:
             addglobalopts(True)
 
@@ -1627,6 +1621,11 @@
             header = _('list of commands:\n\n')
 
         helplist(header)
+        if name != 'shortlist':
+            exts, maxlength = extensions.enabled()
+            text = help.listexts(_('enabled extensions:'), exts, maxlength)
+            if text:
+                ui.write("\n%s\n" % minirst.format(text, textwidth))
 
     # list all option lists
     opt_output = []