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

Linux/macOS: Make help text less confusing with regards to optional parameter of certain commands

the presence of '=' sign was not correct.
This commit is contained in:
Mounir IDRASSI
2025-05-27 17:14:17 +09:00
parent b18c2d3c71
commit 98102bbff6

View File

@@ -1158,11 +1158,11 @@ const FileManager fileManagers[] = {
"--auto-mount=devices|favorites\n" "--auto-mount=devices|favorites\n"
" Auto mount device-hosted or favorite volumes.\n" " Auto mount device-hosted or favorite volumes.\n"
"\n" "\n"
"--backup-headers[=VOLUME_PATH]\n" "--backup-headers [VOLUME_PATH]\n"
" Backup volume headers to a file. All required options are requested from the\n" " Backup volume headers to a file. All required options are requested from the\n"
" user.\n" " user.\n"
"\n" "\n"
"-c, --create[=VOLUME_PATH]\n" "-c, --create [VOLUME_PATH]\n"
" Create a new volume. Most options are requested from the user if not specified\n" " Create a new volume. Most options are requested from the user if not specified\n"
" on command line. See also options --encryption, -k, --filesystem, --hash, -p,\n" " on command line. See also options --encryption, -k, --filesystem, --hash, -p,\n"
" --random-source, --quick, --size, --volume-type. Note that passing some of the\n" " --random-source, --quick, --size, --volume-type. Note that passing some of the\n"
@@ -1179,16 +1179,16 @@ const FileManager fileManagers[] = {
" 6) Unmount the outer volume.\n" " 6) Unmount the outer volume.\n"
" If at any step the hidden volume protection is triggered, start again from 1).\n" " If at any step the hidden volume protection is triggered, start again from 1).\n"
"\n" "\n"
"--create-keyfile[=FILE_PATH]\n" "--create-keyfile [FILE_PATH]\n"
" Create a new keyfile containing pseudo-random data.\n" " Create a new keyfile containing pseudo-random data.\n"
"\n" "\n"
"-C, --change[=VOLUME_PATH]\n" "-C, --change [VOLUME_PATH]\n"
" Change a password and/or keyfile(s) of a volume. Most options are requested\n" " Change a password and/or keyfile(s) of a volume. Most options are requested\n"
" from the user if not specified on command line. PKCS-5 PRF HMAC hash\n" " from the user if not specified on command line. PKCS-5 PRF HMAC hash\n"
" algorithm can be changed with option --hash. See also options -k,\n" " algorithm can be changed with option --hash. See also options -k,\n"
" --new-keyfiles, --new-password, -p, --random-source.\n" " --new-keyfiles, --new-password, -p, --random-source.\n"
"\n" "\n"
"-u, --unmount[=MOUNTED_VOLUME]\n" "-u, --unmount [MOUNTED_VOLUME]\n"
" Unmount a mounted volume. If MOUNTED_VOLUME is not specified, all\n" " Unmount a mounted volume. If MOUNTED_VOLUME is not specified, all\n"
" volumes are unmounted. See below for description of MOUNTED_VOLUME.\n" " volumes are unmounted. See below for description of MOUNTED_VOLUME.\n"
"\n" "\n"
@@ -1201,7 +1201,7 @@ const FileManager fileManagers[] = {
"--import-token-keyfiles\n" "--import-token-keyfiles\n"
" Import keyfiles to a security token. See also option --token-lib.\n" " Import keyfiles to a security token. See also option --token-lib.\n"
"\n" "\n"
"-l, --list[=MOUNTED_VOLUME]\n" "-l, --list [MOUNTED_VOLUME]\n"
" Display a list of mounted volumes. If MOUNTED_VOLUME is not specified, all\n" " Display a list of mounted volumes. If MOUNTED_VOLUME is not specified, all\n"
" volumes are listed. By default, the list contains only volume path, virtual\n" " volumes are listed. By default, the list contains only volume path, virtual\n"
" device, and mount point. A more detailed list can be enabled by verbose\n" " device, and mount point. A more detailed list can be enabled by verbose\n"
@@ -1217,11 +1217,11 @@ const FileManager fileManagers[] = {
"\n""--list-emvtoken-keyfiles\n" "\n""--list-emvtoken-keyfiles\n"
" Display a list of all available emv token keyfiles. See also command\n" " Display a list of all available emv token keyfiles. See also command\n"
"\n" "\n"
"--mount[=VOLUME_PATH]\n" "--mount [VOLUME_PATH]\n"
" Mount a volume. Volume path and other options are requested from the user\n" " Mount a volume. Volume path and other options are requested from the user\n"
" if not specified on command line.\n" " if not specified on command line.\n"
"\n" "\n"
"--restore-headers[=VOLUME_PATH]\n" "--restore-headers [VOLUME_PATH]\n"
" Restore volume headers from the embedded or an external backup. All required\n" " Restore volume headers from the embedded or an external backup. All required\n"
" options are requested from the user.\n" " options are requested from the user.\n"
"\n" "\n"
@@ -1234,7 +1234,7 @@ const FileManager fileManagers[] = {
"--version\n" "--version\n"
" Display program version.\n" " Display program version.\n"
"\n" "\n"
"--volume-properties[=MOUNTED_VOLUME]\n" "--volume-properties [MOUNTED_VOLUME]\n"
" Display properties of a mounted volume. See below for description of\n" " Display properties of a mounted volume. See below for description of\n"
" MOUNTED_VOLUME.\n" " MOUNTED_VOLUME.\n"
"\n" "\n"