comparison tests/test-help.t @ 27763:0ac5b7ee5dc2

help: add --system flag to get help for various platform(s)
author timeless <timeless@mozdev.org>
date Sun, 10 Jan 2016 08:03:58 +0000
parents a0e783d26e81
children f6d73c8756e2
comparison
equal deleted inserted replaced
27762:70e7bfebba46 27763:0ac5b7ee5dc2
1248 help -c should only show deprecated for -v 1248 help -c should only show deprecated for -v
1249 1249
1250 $ hg help -c -v|egrep DEPRECATED|wc -l|egrep '^\s*0\s*$' 1250 $ hg help -c -v|egrep DEPRECATED|wc -l|egrep '^\s*0\s*$'
1251 [1] 1251 [1]
1252 1252
1253 Test -s / --system
1254
1255 $ hg help config.files -s windows |grep 'etc/mercurial' | \
1256 > wc -l | sed -e 's/ //g'
1257 0
1258 $ hg help config.files --system unix | grep 'USER' | \
1259 > wc -l | sed -e 's/ //g'
1260 0
1261
1253 Test -e / -c / -k combinations 1262 Test -e / -c / -k combinations
1254 1263
1255 $ hg help -c|egrep '^[A-Z].*:|^ debug' 1264 $ hg help -c|egrep '^[A-Z].*:|^ debug'
1256 Commands: 1265 Commands:
1257 $ hg help -e|egrep '^[A-Z].*:|^ debug' 1266 $ hg help -e|egrep '^[A-Z].*:|^ debug'