1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Windows: Display VeraCrypt version information when the command line switch /help is used.

This commit is contained in:
Mounir IDRASSI
2015-05-28 01:01:46 +02:00
parent 70215e3682
commit 5867250820
2 changed files with 15 additions and 5 deletions

View File

@@ -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)