From c4944a58d5697703e5f97c73d77140ae77fd4fc7 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Sat, 5 Dec 2020 22:49:37 +0300 Subject: [PATCH] mdbx: avoid spelling errors (cosmetics). Change-Id: Ibf14e003ba740ba757b5403e92fd220e68930ce4 --- src/mdbx_chk.c | 16 +++++++++++++++- src/mdbx_dump.c | 11 ++++++++++- src/mdbx_load.c | 12 +++++++++++- src/mdbx_stat.c | 9 ++++++++- 4 files changed, 44 insertions(+), 4 deletions(-) diff --git a/src/mdbx_chk.c b/src/mdbx_chk.c index 42f90dba..89f0fe3f 100644 --- a/src/mdbx_chk.c +++ b/src/mdbx_chk.c @@ -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" diff --git a/src/mdbx_dump.c b/src/mdbx_dump.c index 75b7c79e..7bb334d2 100644 --- a/src/mdbx_dump.c +++ b/src/mdbx_dump.c @@ -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" diff --git a/src/mdbx_load.c b/src/mdbx_load.c index 81a8daa8..74dd27a6 100644 --- a/src/mdbx_load.c +++ b/src/mdbx_load.c @@ -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" diff --git a/src/mdbx_stat.c b/src/mdbx_stat.c index fcd34227..92e1c7ac 100644 --- a/src/mdbx_stat.c +++ b/src/mdbx_stat.c @@ -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"