tests/test-help.t
changeset 26237 1c6f7cc52da9
parent 26224 a4da463df6cf
child 26238 69da16b366ad
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