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.

This commit is contained in:
Mounir IDRASSI 2015-06-24 14:21:48 +02:00
parent 9913af3a8e
commit ea27cace41

View File

@ -80,7 +80,7 @@ namespace VeraCrypt
parser.AddSwitch (L"", L"quick", _("Enable quick format")); parser.AddSwitch (L"", L"quick", _("Enable quick format"));
parser.AddOption (L"", L"size", _("Size in bytes")); parser.AddOption (L"", L"size", _("Size in bytes"));
parser.AddOption (L"", L"slot", _("Volume slot number")); 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"", L"test", _("Test internal algorithms"));
parser.AddSwitch (L"t", L"text", _("Use text user interface")); parser.AddSwitch (L"t", L"text", _("Use text user interface"));
parser.AddOption (L"", L"token-lib", _("Security token library")); parser.AddOption (L"", L"token-lib", _("Security token library"));