VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Cmdline.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2020-01-20 23:48:02 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2020-01-21 00:46:03 (GMT)
commit8fe3eb0136b9105ff9adabc10f04814e932fc2dc (patch)
tree2490229106815df8d20805a6c519965db982eda8 /src/Common/Cmdline.c
parentb0b149db836063cc017b2530c305a7d5da92f58d (diff)
downloadVeraCrypt-8fe3eb0136b9105ff9adabc10f04814e932fc2dc.zip
VeraCrypt-8fe3eb0136b9105ff9adabc10f04814e932fc2dc.tar.gz
Windows: don't display mount/dismount examples in help dialog for command line in Format and Expander
Diffstat (limited to 'src/Common/Cmdline.c')
-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 d205673..f0dcf7c 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);