##// END OF EJS Templates
help: tweak --verbose command help hint...
Matt Mackall -
r22110:26f7c803 default
parent child Browse files
Show More
@@ -296,11 +296,8 b' def help_(ui, name, unknowncmd=False, fu'
296 296 rst.append(_('\nuse "hg help %s" to show the full help text\n')
297 297 % name)
298 298 elif not ui.quiet:
299 omitted = _('use "hg -v help %s" to show more complete'
300 ' help and the global options') % name
301 notomitted = _('use "hg -v help %s" to show'
302 ' the global options') % name
303 indicateomitted(rst, omitted, notomitted)
299 rst.append(_('\n(some details hidden, use --verbose '
300 'to show complete help)'))
304 301
305 302 return rst
306 303
@@ -272,7 +272,7 b''
272 272 --sourcesort preserve source changesets order
273 273 --closesort try to reorder closed revisions
274 274
275 use "hg -v help convert" to show the global options
275 (some details hidden, use --verbose to show complete help)
276 276 $ hg init a
277 277 $ cd a
278 278 $ echo a > a
@@ -58,7 +58,7 b' check alignment of option descriptions i'
58 58 \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d (esc)
59 59 \xe9\x95\xb7\xe3\x81\x84\xe9\x95\xb7\xe3\x81\x84\xe5\x90\x8d\xe5\x89\x8d (esc)
60 60
61 use "hg -v help showoptlist" to show the global options
61 (some details hidden, use --verbose to show complete help)
62 62
63 63
64 64 $ rm -f s; touch s
@@ -69,7 +69,7 b' define commands to display help text'
69 69 \x82\xa0\x82\xa2\x82\xa4\x82\xa6\x82\xa8\x82\xa9\x82\xab\x82\xad\x82\xaf\x82\xa0\x82\xa2\x82\xa4\x82\xa6\x82\xa8\x82\xa9\x82\xab\x82\xad\x82\xaf\x82\xa0\x82\xa2\x82\xa4\x82\xa6\x82\xa8\x82\xa9\x82\xab\x82\xad\x82\xaf (esc)
70 70 \x82\xa0\x82\xa2\x82\xa4\x82\xa6\x82\xa8\x82\xa9\x82\xab\x82\xad\x82\xaf (esc)
71 71
72 use "hg -v help show_full_ja" to show the global options
72 (some details hidden, use --verbose to show complete help)
73 73
74 74 (1-2) display Japanese full-width characters in utf-8
75 75
@@ -84,7 +84,7 b' define commands to display help text'
84 84 \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88\xe3\x81\x8a\xe3\x81\x8b\xe3\x81\x8d\xe3\x81\x8f\xe3\x81\x91\xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88\xe3\x81\x8a\xe3\x81\x8b\xe3\x81\x8d\xe3\x81\x8f\xe3\x81\x91\xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88\xe3\x81\x8a\xe3\x81\x8b\xe3\x81\x8d\xe3\x81\x8f\xe3\x81\x91 (esc)
85 85 \xe3\x81\x82\xe3\x81\x84\xe3\x81\x86\xe3\x81\x88\xe3\x81\x8a\xe3\x81\x8b\xe3\x81\x8d\xe3\x81\x8f\xe3\x81\x91 (esc)
86 86
87 use "hg -v help show_full_ja" to show the global options
87 (some details hidden, use --verbose to show complete help)
88 88
89 89
90 90 (1-3) display Japanese half-width characters in cp932
@@ -100,7 +100,7 b' define commands to display help text'
100 100 \xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9 (esc)
101 101 \xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9 (esc)
102 102
103 use "hg -v help show_half_ja" to show the global options
103 (some details hidden, use --verbose to show complete help)
104 104
105 105 (1-4) display Japanese half-width characters in utf-8
106 106
@@ -115,7 +115,7 b' define commands to display help text'
115 115 \xef\xbd\xb1\xef\xbd\xb2\xef\xbd\xb3\xef\xbd\xb4\xef\xbd\xb5\xef\xbd\xb6\xef\xbd\xb7\xef\xbd\xb8\xef\xbd\xb9\xef\xbd\xb1\xef\xbd\xb2\xef\xbd\xb3\xef\xbd\xb4\xef\xbd\xb5\xef\xbd\xb6\xef\xbd\xb7\xef\xbd\xb8\xef\xbd\xb9\xef\xbd\xb1\xef\xbd\xb2\xef\xbd\xb3\xef\xbd\xb4\xef\xbd\xb5\xef\xbd\xb6\xef\xbd\xb7\xef\xbd\xb8\xef\xbd\xb9\xef\xbd\xb1\xef\xbd\xb2\xef\xbd\xb3\xef\xbd\xb4\xef\xbd\xb5\xef\xbd\xb6\xef\xbd\xb7\xef\xbd\xb8\xef\xbd\xb9\xef\xbd\xb1\xef\xbd\xb2\xef\xbd\xb3\xef\xbd\xb4\xef\xbd\xb5\xef\xbd\xb6\xef\xbd\xb7\xef\xbd\xb8\xef\xbd\xb9\xef\xbd\xb1\xef\xbd\xb2\xef\xbd\xb3\xef\xbd\xb4\xef\xbd\xb5\xef\xbd\xb6\xef\xbd\xb7\xef\xbd\xb8\xef\xbd\xb9 (esc)
116 116 \xef\xbd\xb1\xef\xbd\xb2\xef\xbd\xb3\xef\xbd\xb4\xef\xbd\xb5\xef\xbd\xb6\xef\xbd\xb7\xef\xbd\xb8\xef\xbd\xb9\xef\xbd\xb1\xef\xbd\xb2\xef\xbd\xb3\xef\xbd\xb4\xef\xbd\xb5\xef\xbd\xb6\xef\xbd\xb7\xef\xbd\xb8\xef\xbd\xb9 (esc)
117 117
118 use "hg -v help show_half_ja" to show the global options
118 (some details hidden, use --verbose to show complete help)
119 119
120 120
121 121
@@ -136,7 +136,7 b' define commands to display help text'
136 136 \x83\xbf\x83\xc0\x83\xc1\x83\xc2\x83\xd2\x83\xc4\x83\xc5\x83\xc6\x81\x9b\x83\xbf\x83\xc0\x83\xc1\x83\xc2\x83\xd2\x83\xc4\x83\xc5\x83\xc6\x81\x9b\x83\xbf\x83\xc0\x83\xc1\x83\xc2\x83\xd2\x83\xc4\x83\xc5\x83\xc6\x81\x9b\x83\xbf\x83\xc0\x83\xc1\x83\xc2\x83\xd2\x83\xc4\x83\xc5\x83\xc6\x81\x9b\x83\xbf\x83\xc0\x83\xc1\x83\xc2\x83\xd2\x83\xc4\x83\xc5\x83\xc6\x81\x9b\x83\xbf\x83\xc0\x83\xc1\x83\xc2\x83\xd2\x83\xc4\x83\xc5\x83\xc6\x81\x9b (esc)
137 137 \x83\xbf\x83\xc0\x83\xc1\x83\xc2\x83\xd2\x83\xc4\x83\xc5\x83\xc6\x81\x9b (esc)
138 138
139 use "hg -v help show_ambig_ja" to show the global options
139 (some details hidden, use --verbose to show complete help)
140 140
141 141 (2-1-2) display Japanese ambiguous-width characters in utf-8
142 142
@@ -151,7 +151,7 b' define commands to display help text'
151 151 \xce\xb1\xce\xb2\xce\xb3\xce\xb4\xcf\x85\xce\xb6\xce\xb7\xce\xb8\xe2\x97\x8b\xce\xb1\xce\xb2\xce\xb3\xce\xb4\xcf\x85\xce\xb6\xce\xb7\xce\xb8\xe2\x97\x8b\xce\xb1\xce\xb2\xce\xb3\xce\xb4\xcf\x85\xce\xb6\xce\xb7\xce\xb8\xe2\x97\x8b\xce\xb1\xce\xb2\xce\xb3\xce\xb4\xcf\x85\xce\xb6\xce\xb7\xce\xb8\xe2\x97\x8b\xce\xb1\xce\xb2\xce\xb3\xce\xb4\xcf\x85\xce\xb6\xce\xb7\xce\xb8\xe2\x97\x8b\xce\xb1\xce\xb2\xce\xb3\xce\xb4\xcf\x85\xce\xb6\xce\xb7\xce\xb8\xe2\x97\x8b (esc)
152 152 \xce\xb1\xce\xb2\xce\xb3\xce\xb4\xcf\x85\xce\xb6\xce\xb7\xce\xb8\xe2\x97\x8b (esc)
153 153
154 use "hg -v help show_ambig_ja" to show the global options
154 (some details hidden, use --verbose to show complete help)
155 155
156 156 (2-1-3) display Russian ambiguous-width characters in cp1251
157 157
@@ -166,7 +166,7 b' define commands to display help text'
166 166 \xcd\xe0\xf1\xf2\xf0\xee\xe9\xea\xe8\xcd\xe0\xf1\xf2\xf0\xee\xe9\xea\xe8\xcd\xe0\xf1\xf2\xf0\xee\xe9\xea\xe8\xcd\xe0\xf1\xf2\xf0\xee\xe9\xea\xe8\xcd\xe0\xf1\xf2\xf0\xee\xe9\xea\xe8\xcd\xe0\xf1\xf2\xf0\xee\xe9\xea\xe8 (esc)
167 167 \xcd\xe0\xf1\xf2\xf0\xee\xe9\xea\xe8 (esc)
168 168
169 use "hg -v help show_ambig_ru" to show the global options
169 (some details hidden, use --verbose to show complete help)
170 170
171 171 (2-1-4) display Russian ambiguous-width characters in utf-8
172 172
@@ -181,7 +181,7 b' define commands to display help text'
181 181 \xd0\x9d\xd0\xb0\xd1\x81\xd1\x82\xd1\x80\xd0\xbe\xd0\xb9\xd0\xba\xd0\xb8\xd0\x9d\xd0\xb0\xd1\x81\xd1\x82\xd1\x80\xd0\xbe\xd0\xb9\xd0\xba\xd0\xb8\xd0\x9d\xd0\xb0\xd1\x81\xd1\x82\xd1\x80\xd0\xbe\xd0\xb9\xd0\xba\xd0\xb8\xd0\x9d\xd0\xb0\xd1\x81\xd1\x82\xd1\x80\xd0\xbe\xd0\xb9\xd0\xba\xd0\xb8\xd0\x9d\xd0\xb0\xd1\x81\xd1\x82\xd1\x80\xd0\xbe\xd0\xb9\xd0\xba\xd0\xb8\xd0\x9d\xd0\xb0\xd1\x81\xd1\x82\xd1\x80\xd0\xbe\xd0\xb9\xd0\xba\xd0\xb8 (esc)
182 182 \xd0\x9d\xd0\xb0\xd1\x81\xd1\x82\xd1\x80\xd0\xbe\xd0\xb9\xd0\xba\xd0\xb8 (esc)
183 183
184 use "hg -v help show_ambig_ru" to show the global options
184 (some details hidden, use --verbose to show complete help)
185 185
186 186
187 187 (2-2) treat width of ambiguous characters as wide
@@ -202,7 +202,7 b' define commands to display help text'
202 202 \x83\xbf\x83\xc0\x83\xc1\x83\xc2\x83\xd2\x83\xc4\x83\xc5\x83\xc6\x81\x9b\x83\xbf\x83\xc0\x83\xc1\x83\xc2\x83\xd2\x83\xc4\x83\xc5\x83\xc6\x81\x9b\x83\xbf\x83\xc0\x83\xc1\x83\xc2\x83\xd2\x83\xc4\x83\xc5\x83\xc6\x81\x9b (esc)
203 203 \x83\xbf\x83\xc0\x83\xc1\x83\xc2\x83\xd2\x83\xc4\x83\xc5\x83\xc6\x81\x9b (esc)
204 204
205 use "hg -v help show_ambig_ja" to show the global options
205 (some details hidden, use --verbose to show complete help)
206 206
207 207 (2-2-2) display Japanese ambiguous-width characters in utf-8
208 208
@@ -220,7 +220,7 b' define commands to display help text'
220 220 \xce\xb1\xce\xb2\xce\xb3\xce\xb4\xcf\x85\xce\xb6\xce\xb7\xce\xb8\xe2\x97\x8b\xce\xb1\xce\xb2\xce\xb3\xce\xb4\xcf\x85\xce\xb6\xce\xb7\xce\xb8\xe2\x97\x8b\xce\xb1\xce\xb2\xce\xb3\xce\xb4\xcf\x85\xce\xb6\xce\xb7\xce\xb8\xe2\x97\x8b (esc)
221 221 \xce\xb1\xce\xb2\xce\xb3\xce\xb4\xcf\x85\xce\xb6\xce\xb7\xce\xb8\xe2\x97\x8b (esc)
222 222
223 use "hg -v help show_ambig_ja" to show the global options
223 (some details hidden, use --verbose to show complete help)
224 224
225 225 (2-2-3) display Russian ambiguous-width characters in cp1251
226 226
@@ -238,7 +238,7 b' define commands to display help text'
238 238 \xcd\xe0\xf1\xf2\xf0\xee\xe9\xea\xe8\xcd\xe0\xf1\xf2\xf0\xee\xe9\xea\xe8\xcd\xe0\xf1\xf2\xf0\xee\xe9\xea\xe8 (esc)
239 239 \xcd\xe0\xf1\xf2\xf0\xee\xe9\xea\xe8 (esc)
240 240
241 use "hg -v help show_ambig_ru" to show the global options
241 (some details hidden, use --verbose to show complete help)
242 242
243 243 (2-2-4) display Russian ambiguous-width characters in utf-8
244 244
@@ -256,6 +256,6 b' define commands to display help text'
256 256 \xd0\x9d\xd0\xb0\xd1\x81\xd1\x82\xd1\x80\xd0\xbe\xd0\xb9\xd0\xba\xd0\xb8\xd0\x9d\xd0\xb0\xd1\x81\xd1\x82\xd1\x80\xd0\xbe\xd0\xb9\xd0\xba\xd0\xb8\xd0\x9d\xd0\xb0\xd1\x81\xd1\x82\xd1\x80\xd0\xbe\xd0\xb9\xd0\xba\xd0\xb8 (esc)
257 257 \xd0\x9d\xd0\xb0\xd1\x81\xd1\x82\xd1\x80\xd0\xbe\xd0\xb9\xd0\xba\xd0\xb8 (esc)
258 258
259 use "hg -v help show_ambig_ru" to show the global options
259 (some details hidden, use --verbose to show complete help)
260 260
261 261 $ cd ..
@@ -47,7 +47,7 b' Should diff cloned directories:'
47 47
48 48 [+] marked option can be specified multiple times
49 49
50 use "hg -v help falabala" to show the global options
50 (some details hidden, use --verbose to show complete help)
51 51
52 52 $ hg ci -d '0 0' -mtest1
53 53
@@ -401,7 +401,7 b' Extension module help vs command help:'
401 401
402 402 [+] marked option can be specified multiple times
403 403
404 use "hg -v help extdiff" to show the global options
404 (some details hidden, use --verbose to show complete help)
405 405
406 406
407 407
@@ -533,7 +533,7 b' Test help topic with same name as extens'
533 533
534 534 multirevs command
535 535
536 use "hg -v help multirevs" to show the global options
536 (some details hidden, use --verbose to show complete help)
537 537
538 538
539 539
@@ -353,7 +353,7 b' Test short command list with verbose opt'
353 353
354 354 [+] marked option can be specified multiple times
355 355
356 use "hg -v help add" to show more complete help and the global options
356 (some details hidden, use --verbose to show complete help)
357 357
358 358 Verbose help for add
359 359
@@ -472,7 +472,7 b' Test command without options'
472 472
473 473 Returns 0 on success, 1 if errors are encountered.
474 474
475 use "hg -v help verify" to show the global options
475 (some details hidden, use --verbose to show complete help)
476 476
477 477 $ hg help diff
478 478 hg diff [OPTION]... ([-c REV] | [-r REV1 [-r REV2]]) [FILE]...
@@ -525,7 +525,7 b' Test command without options'
525 525
526 526 [+] marked option can be specified multiple times
527 527
528 use "hg -v help diff" to show more complete help and the global options
528 (some details hidden, use --verbose to show complete help)
529 529
530 530 $ hg help status
531 531 hg status [OPTION]... [FILE]...
@@ -588,7 +588,7 b' Test command without options'
588 588
589 589 [+] marked option can be specified multiple times
590 590
591 use "hg -v help status" to show more complete help and the global options
591 (some details hidden, use --verbose to show complete help)
592 592
593 593 $ hg -q help status
594 594 hg status [OPTION]... [FILE]...
@@ -663,7 +663,7 b' Test command with no help text'
663 663 -n -- normal desc
664 664 --newline VALUE line1 line2
665 665
666 use "hg -v help nohelp" to show the global options
666 (some details hidden, use --verbose to show complete help)
667 667
668 668 $ hg help -k nohelp
669 669 Commands:
@@ -843,7 +843,7 b' test deprecated option is hidden in comm'
843 843
844 844 options:
845 845
846 use "hg -v help debugoptDEP" to show the global options
846 (some details hidden, use --verbose to show complete help)
847 847
848 848 test deprecated option is shown with -v
849 849 $ hg help -v debugoptDEP | grep dopt
@@ -859,7 +859,7 b' test deprecated option is hidden with tr'
859 859
860 860 flaggor:
861 861
862 *"hg -v help debugoptDEP"* (glob)
862 (some details hidden, use --verbose to show complete help)
863 863 #endif
864 864
865 865 Test commands that collide with topics (issue4240)
@@ -46,7 +46,7 b' help qrefresh (no record)'
46 46
47 47 [+] marked option can be specified multiple times
48 48
49 use "hg -v help qrefresh" to show the global options
49 (some details hidden, use --verbose to show complete help)
50 50
51 51 help qrefresh (record)
52 52
@@ -91,7 +91,7 b' help qrefresh (record)'
91 91
92 92 [+] marked option can be specified multiple times
93 93
94 use "hg -v help qrefresh" to show the global options
94 (some details hidden, use --verbose to show complete help)
95 95
96 96 $ hg init a
97 97 $ cd a
@@ -76,7 +76,7 b' help record (record)'
76 76
77 77 [+] marked option can be specified multiple times
78 78
79 use "hg -v help record" to show the global options
79 (some details hidden, use --verbose to show complete help)
80 80
81 81 help (no mq, so no qrecord)
82 82
@@ -87,7 +87,7 b' help (no mq, so no qrecord)'
87 87
88 88 See "hg help qnew" & "hg help record" for more information and usage.
89 89
90 use "hg -v help qrecord" to show the global options
90 (some details hidden, use --verbose to show complete help)
91 91
92 92 $ hg init a
93 93
@@ -119,7 +119,7 b' help (bad mq)'
119 119
120 120 See "hg help qnew" & "hg help record" for more information and usage.
121 121
122 use "hg -v help qrecord" to show the global options
122 (some details hidden, use --verbose to show complete help)
123 123
124 124 help (mq present)
125 125
@@ -152,7 +152,7 b' help (mq present)'
152 152
153 153 [+] marked option can be specified multiple times
154 154
155 use "hg -v help qrecord" to show the global options
155 (some details hidden, use --verbose to show complete help)
156 156
157 157 $ cd a
158 158
General Comments 0
You need to be logged in to leave comments. Login now