Changed output so all debug output goes to stderr, and all file processing
authorJohn Terpstra <jht@samba.org>
Mon, 20 Oct 2003 04:51:40 +0000 (04:51 +0000)
committerJohn Terpstra <jht@samba.org>
Mon, 20 Oct 2003 04:51:40 +0000 (04:51 +0000)
commit8a0706668d2e566246dc98121ddeb5a203d1abbc
tree5cd4d4d79249b1fabcb08c16ac8a190590fde27f
parentce1962520c9f39c76e67c05f22c9ddafbe1740e5
Changed output so all debug output goes to stderr, and all file processing
 goes to stdout.

Note: This change permits use of testparm processing of smb.conf to be
redirected into a file that can be used as an smb.conf file. ie: All
information that should not be in smb.conf will be on stderr, all pertinent
smb.conf info will go to stdout.

Example of use:
A fully documented smb.conf.master file can be maintained.
To create smb.conf do:
testparm -s > smb.conf
(This used to be commit 0450dc97731d95c7cd3b2c8a54721991fd6165df)
source3/utils/testparm.c