VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2020-01-21 00:48:02 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2020-01-21 01:46:03 +0100
commit8fe3eb0136b9105ff9adabc10f04814e932fc2dc (patch)
tree2490229106815df8d20805a6c519965db982eda8 /src
parentb0b149db836063cc017b2530c305a7d5da92f58d (diff)
downloadVeraCrypt-8fe3eb0136b9105ff9adabc10f04814e932fc2dc.tar.gz
VeraCrypt-8fe3eb0136b9105ff9adabc10f04814e932fc2dc.zip
Windows: don't display mount/dismount examples in help dialog for command line in Format and Expander
Diffstat (limited to 'src')
-rw-r--r--src/Common/Cmdline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/Cmdline.c b/src/Common/Cmdline.c
index d2056734..f0dcf7cf 100644
--- a/src/Common/Cmdline.c
+++ b/src/Common/Cmdline.c
@@ -70,9 +70,9 @@ BOOL CALLBACK CommandHelpDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM
StringCchCatW(tmp, 8192, tmp2);
}
}
-
+#if defined(TCMOUNT) && !defined(VCEXPANDER)
StringCchCatW (tmp, 8192, L"\nExamples:\n\nMount a volume as X:\tveracrypt.exe /q /v volume.hc /l X\nDismount a volume X:\tveracrypt.exe /q /d X");
-
+#endif
SetWindowTextW (GetDlgItem (hwndDlg, IDC_COMMANDHELP_TEXT), tmp);
TCfree(tmp);