Mercurial > public > mercurial-scm > hg
comparison hgext/progress.py @ 10471:132eb7128ad5 stable
progress: use inline literals in help string
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 14 Feb 2010 17:09:52 +0100 |
parents | 149ad0a3ec91 |
children | 4bab7c3db4e1 |
comparison
equal
deleted
inserted
replaced
10470:2b57eed1be0b | 10471:132eb7128ad5 |
---|---|
31 format = topic bar number # format of the progress bar | 31 format = topic bar number # format of the progress bar |
32 width = <none> # if set, the maximum width of the progress information | 32 width = <none> # if set, the maximum width of the progress information |
33 # (that is, min(width, term width) will be used) | 33 # (that is, min(width, term width) will be used) |
34 clear-complete = True # clear the progress bar after it's done | 34 clear-complete = True # clear the progress bar after it's done |
35 | 35 |
36 Valid entries for the format field are topic, bar, number, unit, and item. | 36 Valid entries for the format field are topic, bar, number, unit, and |
37 item defaults to the last 20 characters of the item, but this can be | 37 item. item defaults to the last 20 characters of the item, but this |
38 changed by adding either -<num> which would take the last num characters, | 38 can be changed by adding either ``-<num>`` which would take the last |
39 or +<num> for the first num characters. | 39 num characters, or ``+<num>`` for the first num characters. |
40 """ | 40 """ |
41 | 41 |
42 import sys | 42 import sys |
43 import time | 43 import time |
44 | 44 |