VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2021-11-21 18:40:50 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2021-11-21 21:45:09 +0100
commit43cf5d7b53dee96c0652ec5529c484d49045dd36 (patch)
treeaa496a1f9a316ff1b1fd47eff7f9f867c243dff1 /src
parent491fed3494ad5fc2e153f415bdf1f9a17503d5d4 (diff)
downloadVeraCrypt-43cf5d7b53dee96c0652ec5529c484d49045dd36.tar.gz
VeraCrypt-43cf5d7b53dee96c0652ec5529c484d49045dd36.zip
Linux/macOS/FreeBSD: return error if unknown filesystem value specified in --filesystem switch
Diffstat (limited to 'src')
-rw-r--r--src/Main/CommandLineInterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main/CommandLineInterface.cpp b/src/Main/CommandLineInterface.cpp
index 0be53bd6..865f69dd 100644
--- a/src/Main/CommandLineInterface.cpp
+++ b/src/Main/CommandLineInterface.cpp
@@ -339,7 +339,7 @@ namespace VeraCrypt
ArgFilesystem = VolumeCreationOptions::FilesystemType::UFS;
#endif
else
- ArgFilesystem = VolumeCreationOptions::FilesystemType::None;
+ throw_err (LangString["UNKNOWN_OPTION"] + L": " + str);
}
}