VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-06-24 12:21:48 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-06-24 13:33:20 (GMT)
commitea27cace411ac15e20d80bab4790d49749ccd882 (patch)
treec8fe14f37648f9db23483787ee94453953175541 /src/Main
parent9913af3a8ed61333cafd0e611f214f7c86652423 (diff)
downloadVeraCrypt-ea27cace411ac15e20d80bab4790d49749ccd882.zip
VeraCrypt-ea27cace411ac15e20d80bab4790d49749ccd882.tar.gz
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.
Diffstat (limited to 'src/Main')
-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 b1bb4bd..7eaef07 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"));