comparison mercurial/help.py @ 22110:26f7c8033bed

help: tweak --verbose command help hint We used to have two slightly different message which people wouldn't read... and then complain that they couldn't find the global options or examples. So we unify them into one message that's upfront that STUFF IS INTENTIONALLY HIDDEN and that looks more like our normal hint style.
author Matt Mackall <mpm@selenic.com>
date Tue, 12 Aug 2014 03:01:37 -0500
parents 8225bb1f0ad3
children aa5e256839d5
comparison
equal deleted inserted replaced
22109:feab93a24e81 22110:26f7c8033bed
294 if not ui.verbose: 294 if not ui.verbose:
295 if not full: 295 if not full:
296 rst.append(_('\nuse "hg help %s" to show the full help text\n') 296 rst.append(_('\nuse "hg help %s" to show the full help text\n')
297 % name) 297 % name)
298 elif not ui.quiet: 298 elif not ui.quiet:
299 omitted = _('use "hg -v help %s" to show more complete' 299 rst.append(_('\n(some details hidden, use --verbose '
300 ' help and the global options') % name 300 'to show complete help)'))
301 notomitted = _('use "hg -v help %s" to show'
302 ' the global options') % name
303 indicateomitted(rst, omitted, notomitted)
304 301
305 return rst 302 return rst
306 303
307 304
308 def helplist(select=None): 305 def helplist(select=None):