changeset 10541:fac67f0bfbb2 stable

commands: clarify --config syntax
author Wagner Bruna <wbruna@softwareexpress.com.br>
date Wed, 24 Feb 2010 11:04:56 -0300
parents dd9d057465c1
children dd3526162436
files mercurial/commands.py tests/test-extension.out tests/test-help.out
diffstat 3 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Tue Feb 23 23:10:01 2010 -0600
+++ b/mercurial/commands.py	Wed Feb 24 11:04:56 2010 -0300
@@ -3334,7 +3334,8 @@
      _('do not prompt, assume \'yes\' for any required answers')),
     ('q', 'quiet', None, _('suppress output')),
     ('v', 'verbose', None, _('enable additional output')),
-    ('', 'config', [], _('set/override config option')),
+    ('', 'config', [],
+     _('set/override config option (use \'section.name=value\')')),
     ('', 'debug', None, _('enable debugging output')),
     ('', 'debugger', None, _('start debugger')),
     ('', 'encoding', encoding.encoding, _('set the charset encoding')),
--- a/tests/test-extension.out	Tue Feb 23 23:10:01 2010 -0600
+++ b/tests/test-extension.out	Wed Feb 24 11:04:56 2010 -0300
@@ -56,7 +56,7 @@
  -y --noninteractive  do not prompt, assume 'yes' for any required answers
  -q --quiet           suppress output
  -v --verbose         enable additional output
-    --config          set/override config option
+    --config          set/override config option (use 'section.name=value')
     --debug           enable debugging output
     --debugger        start debugger
     --encoding        set the charset encoding (default: ascii)
@@ -82,7 +82,7 @@
  -y --noninteractive  do not prompt, assume 'yes' for any required answers
  -q --quiet           suppress output
  -v --verbose         enable additional output
-    --config          set/override config option
+    --config          set/override config option (use 'section.name=value')
     --debug           enable debugging output
     --debugger        start debugger
     --encoding        set the charset encoding (default: ascii)
--- a/tests/test-help.out	Tue Feb 23 23:10:01 2010 -0600
+++ b/tests/test-help.out	Wed Feb 24 11:04:56 2010 -0300
@@ -220,7 +220,7 @@
  -y --noninteractive  do not prompt, assume 'yes' for any required answers
  -q --quiet           suppress output
  -v --verbose         enable additional output
-    --config          set/override config option
+    --config          set/override config option (use 'section.name=value')
     --debug           enable debugging output
     --debugger        start debugger
     --encoding        set the charset encoding (default: ascii)
@@ -288,7 +288,7 @@
  -y --noninteractive  do not prompt, assume 'yes' for any required answers
  -q --quiet           suppress output
  -v --verbose         enable additional output
-    --config          set/override config option
+    --config          set/override config option (use 'section.name=value')
     --debug           enable debugging output
     --debugger        start debugger
     --encoding        set the charset encoding (default: ascii)