comparison tests/test-help.t @ 26237:1c6f7cc52da9

minirst: establish leveling for nested definitions
author timeless@mozdev.org
date Thu, 10 Sep 2015 10:48:20 -0400
parents a4da463df6cf
children 69da16b366ad
comparison
equal deleted inserted replaced
26236:2e42517129ca 26237:1c6f7cc52da9
934 Help subsection: 934 Help subsection:
935 935
936 $ hg help config.charsets |grep "Email example:" > /dev/null 936 $ hg help config.charsets |grep "Email example:" > /dev/null
937 [1] 937 [1]
938 938
939 Show nested definitions
940 ("profiling.type"[break]"ls"[break]"stat"[break])
941
942 $ hg help config.type | egrep '^$'|wc -l
943 \s*3 (re)
944
939 Last item in help config.*: 945 Last item in help config.*:
940 946
941 $ hg help config.`hg help config|grep '^ "'| \ 947 $ hg help config.`hg help config|grep '^ "'| \
942 > tail -1|sed 's![ "]*!!g'`| \ 948 > tail -1|sed 's![ "]*!!g'`| \
943 > grep "hg help -c config" > /dev/null 949 > grep "hg help -c config" > /dev/null