From 54d2fc516f5f27b05fa8b5069955e7f9937ccf30 Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Sun, 21 Feb 2016 22:28:29 +0100 Subject: [PATCH] Add environment variables to help output --- src/cryfs/cli/program_options/Parser.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/cryfs/cli/program_options/Parser.cpp b/src/cryfs/cli/program_options/Parser.cpp index 46908879..67a35fe7 100644 --- a/src/cryfs/cli/program_options/Parser.cpp +++ b/src/cryfs/cli/program_options/Parser.cpp @@ -138,5 +138,16 @@ void Parser::_addPositionalOptionForBaseDir(po::options_description *desc, po::p po::options_description desc; _addAllowedOptions(&desc); cerr << desc << endl; + cerr << "Environment variables:\n" + << " CRYFS_FRONTEND=noninteractive Work better together with tools.\n" + << " With this option set, CryFS won't ask\n" + << " anything, but use default values for any\n" + << " options you didn't specify on command line.\n" + << " Furthermore, it won't ask you to enter a new\n" + << " password a second time (password confirmation).\n" + << " CRYFS_NO_UPDATE_CHECK=true By default, CryFS connects to the internet to\n" + << " check for known security vulnerabilities and\n" + << " new versions. This option disables this.\n" + << endl; exit(1); }