comparison mercurial/commands.py @ 14849:d87814992728 stable

commands: improve help for -y/--noninteractive Before, the help text said that Mercurial would assume 'yes' for all prompts, but this is confusing since many prompts don't have any 'yes' choice. It now more accurately describes what will happen.
author Martin Geisler <mg@aragost.com>
date Thu, 07 Jul 2011 10:32:30 +0200
parents 6ba51c81ff75
children 4731d61cd36b a934b9249574
comparison
equal deleted inserted replaced
14843:e9264b45237d 14849:d87814992728
29 _('repository root directory or name of overlay bundle file'), 29 _('repository root directory or name of overlay bundle file'),
30 _('REPO')), 30 _('REPO')),
31 ('', 'cwd', '', 31 ('', 'cwd', '',
32 _('change working directory'), _('DIR')), 32 _('change working directory'), _('DIR')),
33 ('y', 'noninteractive', None, 33 ('y', 'noninteractive', None,
34 _('do not prompt, assume \'yes\' for any required answers')), 34 _('do not prompt, automatically pick the first choice for all prompts')),
35 ('q', 'quiet', None, _('suppress output')), 35 ('q', 'quiet', None, _('suppress output')),
36 ('v', 'verbose', None, _('enable additional output')), 36 ('v', 'verbose', None, _('enable additional output')),
37 ('', 'config', [], 37 ('', 'config', [],
38 _('set/override config option (use \'section.name=value\')'), 38 _('set/override config option (use \'section.name=value\')'),
39 _('CONFIG')), 39 _('CONFIG')),