##// END OF EJS Templates
commands: support hg help scripting.HGPLAIN...
timeless@mozdev.org -
r26159:f3b467ac default
parent child Browse files
Show More
@@ -3971,6 +3971,7 b' def help_(ui, name=None, **opts):'
3971 section = None
3971 section = None
3972 if name and '.' in name:
3972 if name and '.' in name:
3973 name, section = name.split('.', 1)
3973 name, section = name.split('.', 1)
3974 section = section.lower()
3974
3975
3975 text = help.help_(ui, name, **opts)
3976 text = help.help_(ui, name, **opts)
3976
3977
@@ -922,6 +922,10 b' Test repeated config section name'
922 "smtp.host"
922 "smtp.host"
923 Host name of mail server, e.g. "mail.example.com".
923 Host name of mail server, e.g. "mail.example.com".
924
924
925 Test capitalized section name
926
927 $ hg help scripting.HGPLAIN > /dev/null
928
925 Help subsection:
929 Help subsection:
926
930
927 $ hg help config.charsets |grep "Email example:" > /dev/null
931 $ hg help config.charsets |grep "Email example:" > /dev/null
General Comments 0
You need to be logged in to leave comments. Login now