Mercurial > public > mercurial-scm > hg-stable
diff 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 |
line wrap: on
line diff
--- a/tests/test-help.t Sun Jan 10 06:21:40 2016 +0000 +++ b/tests/test-help.t Sun Jan 10 08:03:58 2016 +0000 @@ -1250,6 +1250,15 @@ $ hg help -c -v|egrep DEPRECATED|wc -l|egrep '^\s*0\s*$' [1] +Test -s / --system + + $ hg help config.files -s windows |grep 'etc/mercurial' | \ + > wc -l | sed -e 's/ //g' + 0 + $ hg help config.files --system unix | grep 'USER' | \ + > wc -l | sed -e 's/ //g' + 0 + Test -e / -c / -k combinations $ hg help -c|egrep '^[A-Z].*:|^ debug'