VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/CommandLineInterface.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-19 22:04:48 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-19 23:18:40 +0200
commit12461a55a8246930c1bbeb19a60d0d4b52ff5abd (patch)
tree3b77f8a64ad37fc7ebcecb6ef72fb85dcc2b9774 /src/Main/CommandLineInterface.cpp
parent008d0503befa55311eb12dbca42a3df25c6f29a0 (diff)
downloadVeraCrypt-12461a55a8246930c1bbeb19a60d0d4b52ff5abd.tar.gz
VeraCrypt-12461a55a8246930c1bbeb19a60d0d4b52ff5abd.zip
MacOSX: Support APFS for creating volumes.
Diffstat (limited to 'src/Main/CommandLineInterface.cpp')
-rw-r--r--src/Main/CommandLineInterface.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Main/CommandLineInterface.cpp b/src/Main/CommandLineInterface.cpp
index a0924de4..171bd165 100644
--- a/src/Main/CommandLineInterface.cpp
+++ b/src/Main/CommandLineInterface.cpp
@@ -321,6 +321,8 @@ namespace VeraCrypt
}
else if (str.IsSameAs (L"exFAT", false))
ArgFilesystem = VolumeCreationOptions::FilesystemType::exFAT;
+ else if (str.IsSameAs (L"APFS", false))
+ ArgFilesystem = VolumeCreationOptions::FilesystemType::APFS;
#elif defined (TC_FREEBSD) || defined (TC_SOLARIS)
else if (str.IsSameAs (L"UFS", false))
ArgFilesystem = VolumeCreationOptions::FilesystemType::UFS;