From 43cf5d7b53dee96c0652ec5529c484d49045dd36 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 21 Nov 2021 18:40:50 +0100 Subject: Linux/macOS/FreeBSD: return error if unknown filesystem value specified in --filesystem switch --- src/Main/CommandLineInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- cgit v1.2.3