Skip to content

Commit 98102bb

Browse files
committed
Linux/macOS: Make help text less confusing with regards to optional parameter of certain commands
the presence of '=' sign was not correct.
1 parent b18c2d3 commit 98102bb

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/Main/UserInterface.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,11 +1158,11 @@ const FileManager fileManagers[] = {
11581158
"--auto-mount=devices|favorites\n"
11591159
" Auto mount device-hosted or favorite volumes.\n"
11601160
"\n"
1161-
"--backup-headers[=VOLUME_PATH]\n"
1161+
"--backup-headers [VOLUME_PATH]\n"
11621162
" Backup volume headers to a file. All required options are requested from the\n"
11631163
" user.\n"
11641164
"\n"
1165-
"-c, --create[=VOLUME_PATH]\n"
1165+
"-c, --create [VOLUME_PATH]\n"
11661166
" Create a new volume. Most options are requested from the user if not specified\n"
11671167
" on command line. See also options --encryption, -k, --filesystem, --hash, -p,\n"
11681168
" --random-source, --quick, --size, --volume-type. Note that passing some of the\n"
@@ -1179,16 +1179,16 @@ const FileManager fileManagers[] = {
11791179
" 6) Unmount the outer volume.\n"
11801180
" If at any step the hidden volume protection is triggered, start again from 1).\n"
11811181
"\n"
1182-
"--create-keyfile[=FILE_PATH]\n"
1182+
"--create-keyfile [FILE_PATH]\n"
11831183
" Create a new keyfile containing pseudo-random data.\n"
11841184
"\n"
1185-
"-C, --change[=VOLUME_PATH]\n"
1185+
"-C, --change [VOLUME_PATH]\n"
11861186
" Change a password and/or keyfile(s) of a volume. Most options are requested\n"
11871187
" from the user if not specified on command line. PKCS-5 PRF HMAC hash\n"
11881188
" algorithm can be changed with option --hash. See also options -k,\n"
11891189
" --new-keyfiles, --new-password, -p, --random-source.\n"
11901190
"\n"
1191-
"-u, --unmount[=MOUNTED_VOLUME]\n"
1191+
"-u, --unmount [MOUNTED_VOLUME]\n"
11921192
" Unmount a mounted volume. If MOUNTED_VOLUME is not specified, all\n"
11931193
" volumes are unmounted. See below for description of MOUNTED_VOLUME.\n"
11941194
"\n"
@@ -1201,7 +1201,7 @@ const FileManager fileManagers[] = {
12011201
"--import-token-keyfiles\n"
12021202
" Import keyfiles to a security token. See also option --token-lib.\n"
12031203
"\n"
1204-
"-l, --list[=MOUNTED_VOLUME]\n"
1204+
"-l, --list [MOUNTED_VOLUME]\n"
12051205
" Display a list of mounted volumes. If MOUNTED_VOLUME is not specified, all\n"
12061206
" volumes are listed. By default, the list contains only volume path, virtual\n"
12071207
" device, and mount point. A more detailed list can be enabled by verbose\n"
@@ -1217,11 +1217,11 @@ const FileManager fileManagers[] = {
12171217
"\n""--list-emvtoken-keyfiles\n"
12181218
" Display a list of all available emv token keyfiles. See also command\n"
12191219
"\n"
1220-
"--mount[=VOLUME_PATH]\n"
1220+
"--mount [VOLUME_PATH]\n"
12211221
" Mount a volume. Volume path and other options are requested from the user\n"
12221222
" if not specified on command line.\n"
12231223
"\n"
1224-
"--restore-headers[=VOLUME_PATH]\n"
1224+
"--restore-headers [VOLUME_PATH]\n"
12251225
" Restore volume headers from the embedded or an external backup. All required\n"
12261226
" options are requested from the user.\n"
12271227
"\n"
@@ -1234,7 +1234,7 @@ const FileManager fileManagers[] = {
12341234
"--version\n"
12351235
" Display program version.\n"
12361236
"\n"
1237-
"--volume-properties[=MOUNTED_VOLUME]\n"
1237+
"--volume-properties [MOUNTED_VOLUME]\n"
12381238
" Display properties of a mounted volume. See below for description of\n"
12391239
" MOUNTED_VOLUME.\n"
12401240
"\n"

0 commit comments

Comments
 (0)