VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-06-24 14:21:48 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-06-24 15:33:20 +0200
commitea27cace411ac15e20d80bab4790d49749ccd882 (patch)
treec8fe14f37648f9db23483787ee94453953175541
parent9913af3a8ed61333cafd0e611f214f7c86652423 (diff)
downloadVeraCrypt-ea27cace411ac15e20d80bab4790d49749ccd882.tar.gz
VeraCrypt-ea27cace411ac15e20d80bab4790d49749ccd882.zip
Linux: solve bug when "-tc" command line switch is not followed by another switch. In this case, the value coming after the "-tc" switch was ignored from processing.
-rwxr-xr-xsrc/Main/CommandLineInterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main/CommandLineInterface.cpp b/src/Main/CommandLineInterface.cpp
index b1bb4bd0..7eaef070 100755
--- a/src/Main/CommandLineInterface.cpp
+++ b/src/Main/CommandLineInterface.cpp
@@ -80,7 +80,7 @@ namespace VeraCrypt
parser.AddSwitch (L"", L"quick", _("Enable quick format"));
parser.AddOption (L"", L"size", _("Size in bytes"));
parser.AddOption (L"", L"slot", _("Volume slot number"));
- parser.AddOption (L"tc",L"truecrypt", _("Enable TrueCrypt mode. Should be put first to avoid issues."));
+ parser.AddSwitch (L"tc",L"truecrypt", _("Enable TrueCrypt mode. Should be put first to avoid issues."));
parser.AddSwitch (L"", L"test", _("Test internal algorithms"));
parser.AddSwitch (L"t", L"text", _("Use text user interface"));
parser.AddOption (L"", L"token-lib", _("Security token library"));