1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-11-06 08:49:29 +02:00

Fix typos.

This commit is contained in:
Cynthia Shang
2020-10-29 17:16:15 -04:00
committed by David Steele
parent f87a117b71
commit 021a34a55b

View File

@@ -81,7 +81,7 @@ typedef struct ParseOption
bool found:1; // Was the option found? bool found:1; // Was the option found?
bool negate:1; // Was the option negated on the command line? bool negate:1; // Was the option negated on the command line?
bool reset:1; // Was the option reset on the command line? bool reset:1; // Was the option reset on the command line?
unsigned int source:2; // Where was to option found? unsigned int source:2; // Where was the option found?
StringList *valueList; // List of values found StringList *valueList; // List of values found
} ParseOption; } ParseOption;
@@ -460,7 +460,7 @@ configParse(unsigned int argListSize, const char *argList[], bool resetLogLevel)
// Phase 1: parse command line parameters // Phase 1: parse command line parameters
// ------------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------------------------------------------
int optionValue; // Value returned by getopt_long int optionValue; // Value returned by getopt_long
int optionListIdx; // Index of option is list (if an option was returned) int optionListIdx; // Index of option in list (if an option was returned)
bool argFound = false; // Track args found to decide on error or help at the end bool argFound = false; // Track args found to decide on error or help at the end
StringList *commandParamList = NULL; // List of command parameters StringList *commandParamList = NULL; // List of command parameters