equal
deleted
inserted
replaced
3835 keep.append('unix') |
3835 keep.append('unix') |
3836 keep.append(sys.platform.lower()) |
3836 keep.append(sys.platform.lower()) |
3837 |
3837 |
3838 section = None |
3838 section = None |
3839 if name and '.' in name: |
3839 if name and '.' in name: |
3840 name, section = name.split('.') |
3840 name, section = name.split('.', 1) |
3841 |
3841 |
3842 text = help.help_(ui, name, **opts) |
3842 text = help.help_(ui, name, **opts) |
3843 |
3843 |
3844 formatted, pruned = minirst.format(text, textwidth, keep=keep, |
3844 formatted, pruned = minirst.format(text, textwidth, keep=keep, |
3845 section=section) |
3845 section=section) |