add warning to encfs output, to discourage use of 2.x branch by non-developers

git-svn-id: http://encfs.googlecode.com/svn/trunk@117 db9cf616-1c43-0410-9cb8-a902689de0d6
This commit is contained in:
Valient Gough 2013-10-03 05:24:59 +00:00
parent 6c3f2105bf
commit 9c1b8f590f

View File

@ -506,6 +506,15 @@ void encfs_destroy( void *_ctx )
int main(int argc, char *argv[])
{
cerr << "\n\n";
cerr << "====== WARNING ======= WARNING ======== WARNING ========\n";
cerr << "NOTE: this version of Encfs comes from SVN mainline and is\n"
"an unreleased 2.x BETA. It is known to have issues!\n";
cerr << " USE AT YOUR OWN RISK!\n";
cerr << "Stable releases are available from the Encfs website, or look\n"
"for the 1.x branch in SVN for the stable 1.x series.";
cerr << "\n\n";
// log to stderr by default..
FLAGS_logtostderr = 1;
FLAGS_minloglevel = 1; // WARNING and above.