VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Cmdline.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-05-28 01:01:46 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-05-29 02:22:05 +0200
commit5867250820d5676a2c4925aade2baeaa30aa2b12 (patch)
treeac815a9a2b4e872685b3ae1a923d067ba56fdcb2 /src/Common/Cmdline.c
parent70215e3682345243301d410fc0072f294006403c (diff)
downloadVeraCrypt-5867250820d5676a2c4925aade2baeaa30aa2b12.tar.gz
VeraCrypt-5867250820d5676a2c4925aade2baeaa30aa2b12.zip
Windows: Display VeraCrypt version information when the command line switch /help is used.
Diffstat (limited to 'src/Common/Cmdline.c')
-rw-r--r--src/Common/Cmdline.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/Common/Cmdline.c b/src/Common/Cmdline.c
index c1fde79a..6e325fe3 100644
--- a/src/Common/Cmdline.c
+++ b/src/Common/Cmdline.c
@@ -45,7 +45,17 @@ BOOL CALLBACK CommandHelpDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM
*tmp = 0;
- StringCbCopyA (tmp, 8192, "Command line options:\n\n");
+ StringCbCopyA (tmp, 8192, "VeraCrypt " VERSION_STRING);
+#ifdef _WIN64
+ StringCbCatA (tmp, 8192, " (64-bit)");
+#else
+ StringCbCatA (tmp, 8192, " (32-bit)");
+#endif
+#if (defined(_DEBUG) || defined(DEBUG))
+ StringCbCatA (tmp, 8192, " (debug)");
+#endif
+
+ StringCbCatA (tmp, 8192, "\n\nCommand line options:\n\n");
for (i = 0; i < as->arg_cnt; i ++)
{
if (!as->args[i].Internal)