mdbx: avoid spelling errors (cosmetics).

Change-Id: Ibf14e003ba740ba757b5403e92fd220e68930ce4
This commit is contained in:
Leonid Yuriev 2020-12-05 22:49:37 +03:00
parent d116e7235a
commit c4944a58d5
4 changed files with 44 additions and 4 deletions

View File

@ -1058,7 +1058,21 @@ int main(int argc, char *argv[]) {
if (argc < 2)
usage(prog);
for (int i; (i = getopt(argc, argv, "012TVvqnwctdis:")) != EOF;) {
for (int i; (i = getopt(argc, argv,
"0"
"1"
"2"
"T"
"V"
"v"
"q"
"n"
"w"
"c"
"t"
"d"
"i"
"s:")) != EOF;) {
switch (i) {
case 'V':
printf("mdbx_chk version %d.%d.%d.%d\n"

View File

@ -252,7 +252,16 @@ int main(int argc, char *argv[]) {
if (argc < 2)
usage();
while ((i = getopt(argc, argv, "af:lnps:Vrq")) != EOF) {
while ((i = getopt(argc, argv,
"a"
"f:"
"l"
"n"
"p"
"s:"
"V"
"r"
"q")) != EOF) {
switch (i) {
case 'V':
printf("mdbx_dump version %d.%d.%d.%d\n"

View File

@ -490,7 +490,17 @@ int main(int argc, char *argv[]) {
if (argc < 2)
usage();
while ((i = getopt(argc, argv, "af:ns:NpTVrq")) != EOF) {
while ((i = getopt(argc, argv,
"a"
"f:"
"n"
"s:"
"N"
"p"
"T"
"V"
"r"
"q")) != EOF) {
switch (i) {
case 'V':
printf("mdbx_load version %d.%d.%d.%d\n"

View File

@ -107,7 +107,14 @@ int main(int argc, char *argv[]) {
if (argc < 2)
usage(prog);
while ((o = getopt(argc, argv, "Vaefnrs:")) != EOF) {
while ((o = getopt(argc, argv,
"V"
"a"
"e"
"f"
"n"
"r"
"s:")) != EOF) {
switch (o) {
case 'V':
printf("mdbx_stat version %d.%d.%d.%d\n"