1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

Minor fix for lower-casing of option summaries.

This works with existing cases and fixes "I/O".
This commit is contained in:
David Steele 2021-10-28 08:10:43 -04:00
parent fa564ee196
commit adc09ffc3b
2 changed files with 2 additions and 2 deletions

View File

@ -445,7 +445,7 @@ helpRender(const Buffer *const helpData)
strNew(), optionData[optionId].summary, strSize(optionData[optionId].summary) - 1);
ASSERT(strSize(summary) > 1);
if (!isupper(strZ(summary)[1]) && !isdigit(strZ(summary)[1]))
if (!isupper(strZ(summary)[1]) && isalpha(strZ(summary)[1]))
strFirstLower(summary);
// Output current and default values if they exist

View File

@ -232,7 +232,7 @@ testRun(void)
" --config-path base path of pgBackRest configuration files\n"
" [default=/etc/pgbackrest]\n"
" --delta restore or backup using checksums [default=n]\n"
" --io-timeout i/O timeout [default=60]\n"
" --io-timeout I/O timeout [default=60]\n"
" --lock-path path where lock files are stored\n"
" [default=/tmp/pgbackrest]\n"
" --neutral-umask use a neutral umask [default=y]\n"