Show More
@@ -314,6 +314,20 b' def help_(ui, cmd=None):' | |||||
314 | show_version(ui) |
|
314 | show_version(ui) | |
315 | ui.write('\n') |
|
315 | ui.write('\n') | |
316 | if ui.verbose: |
|
316 | if ui.verbose: | |
|
317 | ui.write("global options:\n\n") | |||
|
318 | for s, l, d, c in globalopts: | |||
|
319 | opt = ' ' | |||
|
320 | if s: | |||
|
321 | opt = opt + '-' + s + ' ' | |||
|
322 | if l: | |||
|
323 | opt = opt + '--' + l + ' ' | |||
|
324 | if d: | |||
|
325 | opt = opt + '(' + str(d) + ')' | |||
|
326 | ui.write(opt, "\n") | |||
|
327 | if c: | |||
|
328 | ui.write(' %s\n' % c) | |||
|
329 | ui.write("\n") | |||
|
330 | ||||
317 | ui.write('hg commands:\n\n') |
|
331 | ui.write('hg commands:\n\n') | |
318 | else: |
|
332 | else: | |
319 | ui.write('basic hg commands (use "hg help -v" for more):\n\n') |
|
333 | ui.write('basic hg commands (use "hg help -v" for more):\n\n') |
General Comments 0
You need to be logged in to leave comments.
Login now