/***********************************************************************************************************************************
Option Parse Definition

Automatically generated by Build.pm -- do not modify directly.
***********************************************************************************************************************************/

/***********************************************************************************************************************************
Option parse data
***********************************************************************************************************************************/
static const struct option optionList[] =
{
    // archive-async option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_ARCHIVE_ASYNC,
        .val = PARSE_OPTION_FLAG | cfgOptArchiveAsync,
    },
    {
        .name = "no-" CFGOPT_ARCHIVE_ASYNC,
        .val = PARSE_OPTION_FLAG | PARSE_NEGATE_FLAG | cfgOptArchiveAsync,
    },
    {
        .name = "reset-" CFGOPT_ARCHIVE_ASYNC,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptArchiveAsync,
    },

    // archive-check option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_ARCHIVE_CHECK,
        .val = PARSE_OPTION_FLAG | cfgOptArchiveCheck,
    },
    {
        .name = "no-" CFGOPT_ARCHIVE_CHECK,
        .val = PARSE_OPTION_FLAG | PARSE_NEGATE_FLAG | cfgOptArchiveCheck,
    },
    {
        .name = "reset-" CFGOPT_ARCHIVE_CHECK,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptArchiveCheck,
    },

    // archive-copy option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_ARCHIVE_COPY,
        .val = PARSE_OPTION_FLAG | cfgOptArchiveCopy,
    },
    {
        .name = "no-" CFGOPT_ARCHIVE_COPY,
        .val = PARSE_OPTION_FLAG | PARSE_NEGATE_FLAG | cfgOptArchiveCopy,
    },
    {
        .name = "reset-" CFGOPT_ARCHIVE_COPY,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptArchiveCopy,
    },

    // archive-get-queue-max option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_ARCHIVE_GET_QUEUE_MAX,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptArchiveGetQueueMax,
    },
    {
        .name = "reset-" CFGOPT_ARCHIVE_GET_QUEUE_MAX,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptArchiveGetQueueMax,
    },

    // archive-push-queue-max option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_ARCHIVE_PUSH_QUEUE_MAX,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptArchivePushQueueMax,
    },
    {
        .name = "reset-" CFGOPT_ARCHIVE_PUSH_QUEUE_MAX,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptArchivePushQueueMax,
    },
    {
        .name = "archive-queue-max",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptArchivePushQueueMax,
    },
    {
        .name = "reset-archive-queue-max",
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | PARSE_RESET_FLAG | cfgOptArchivePushQueueMax,
    },

    // archive-timeout option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_ARCHIVE_TIMEOUT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptArchiveTimeout,
    },
    {
        .name = "reset-" CFGOPT_ARCHIVE_TIMEOUT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptArchiveTimeout,
    },

    // backup-standby option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_BACKUP_STANDBY,
        .val = PARSE_OPTION_FLAG | cfgOptBackupStandby,
    },
    {
        .name = "no-" CFGOPT_BACKUP_STANDBY,
        .val = PARSE_OPTION_FLAG | PARSE_NEGATE_FLAG | cfgOptBackupStandby,
    },
    {
        .name = "reset-" CFGOPT_BACKUP_STANDBY,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptBackupStandby,
    },

    // buffer-size option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_BUFFER_SIZE,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptBufferSize,
    },
    {
        .name = "reset-" CFGOPT_BUFFER_SIZE,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptBufferSize,
    },

    // checksum-page option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_CHECKSUM_PAGE,
        .val = PARSE_OPTION_FLAG | cfgOptChecksumPage,
    },
    {
        .name = "no-" CFGOPT_CHECKSUM_PAGE,
        .val = PARSE_OPTION_FLAG | PARSE_NEGATE_FLAG | cfgOptChecksumPage,
    },
    {
        .name = "reset-" CFGOPT_CHECKSUM_PAGE,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptChecksumPage,
    },

    // cipher-pass option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_CIPHER_PASS,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptCipherPass,
    },

    // cmd-ssh option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_CMD_SSH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptCmdSsh,
    },
    {
        .name = "reset-" CFGOPT_CMD_SSH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptCmdSsh,
    },

    // compress option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_COMPRESS,
        .val = PARSE_OPTION_FLAG | cfgOptCompress,
    },
    {
        .name = "no-" CFGOPT_COMPRESS,
        .val = PARSE_OPTION_FLAG | PARSE_NEGATE_FLAG | cfgOptCompress,
    },
    {
        .name = "reset-" CFGOPT_COMPRESS,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptCompress,
    },

    // compress-level option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_COMPRESS_LEVEL,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptCompressLevel,
    },
    {
        .name = "reset-" CFGOPT_COMPRESS_LEVEL,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptCompressLevel,
    },

    // compress-level-network option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_COMPRESS_LEVEL_NETWORK,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptCompressLevelNetwork,
    },
    {
        .name = "reset-" CFGOPT_COMPRESS_LEVEL_NETWORK,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptCompressLevelNetwork,
    },

    // compress-type option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_COMPRESS_TYPE,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptCompressType,
    },
    {
        .name = "reset-" CFGOPT_COMPRESS_TYPE,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptCompressType,
    },

    // config option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_CONFIG,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptConfig,
    },
    {
        .name = "no-" CFGOPT_CONFIG,
        .val = PARSE_OPTION_FLAG | PARSE_NEGATE_FLAG | cfgOptConfig,
    },

    // config-include-path option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_CONFIG_INCLUDE_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptConfigIncludePath,
    },

    // config-path option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_CONFIG_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptConfigPath,
    },

    // db-include option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_DB_INCLUDE,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptDbInclude,
    },
    {
        .name = "reset-" CFGOPT_DB_INCLUDE,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptDbInclude,
    },

    // db-timeout option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_DB_TIMEOUT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptDbTimeout,
    },
    {
        .name = "reset-" CFGOPT_DB_TIMEOUT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptDbTimeout,
    },

    // delta option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_DELTA,
        .val = PARSE_OPTION_FLAG | cfgOptDelta,
    },
    {
        .name = "no-" CFGOPT_DELTA,
        .val = PARSE_OPTION_FLAG | PARSE_NEGATE_FLAG | cfgOptDelta,
    },
    {
        .name = "reset-" CFGOPT_DELTA,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptDelta,
    },

    // dry-run option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_DRY_RUN,
        .val = PARSE_OPTION_FLAG | cfgOptDryRun,
    },

    // exclude option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_EXCLUDE,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptExclude,
    },
    {
        .name = "reset-" CFGOPT_EXCLUDE,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptExclude,
    },

    // filter option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_FILTER,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptFilter,
    },

    // force option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_FORCE,
        .val = PARSE_OPTION_FLAG | cfgOptForce,
    },

    // host-id option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_HOST_ID,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptHostId,
    },

    // ignore-missing option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_IGNORE_MISSING,
        .val = PARSE_OPTION_FLAG | cfgOptIgnoreMissing,
    },

    // io-timeout option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_IO_TIMEOUT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptIoTimeout,
    },
    {
        .name = "reset-" CFGOPT_IO_TIMEOUT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptIoTimeout,
    },

    // link-all option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_LINK_ALL,
        .val = PARSE_OPTION_FLAG | cfgOptLinkAll,
    },
    {
        .name = "no-" CFGOPT_LINK_ALL,
        .val = PARSE_OPTION_FLAG | PARSE_NEGATE_FLAG | cfgOptLinkAll,
    },
    {
        .name = "reset-" CFGOPT_LINK_ALL,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptLinkAll,
    },

    // link-map option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_LINK_MAP,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptLinkMap,
    },
    {
        .name = "reset-" CFGOPT_LINK_MAP,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptLinkMap,
    },

    // lock-path option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_LOCK_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptLockPath,
    },
    {
        .name = "reset-" CFGOPT_LOCK_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptLockPath,
    },

    // log-level-console option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_LOG_LEVEL_CONSOLE,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptLogLevelConsole,
    },
    {
        .name = "reset-" CFGOPT_LOG_LEVEL_CONSOLE,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptLogLevelConsole,
    },

    // log-level-file option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_LOG_LEVEL_FILE,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptLogLevelFile,
    },
    {
        .name = "reset-" CFGOPT_LOG_LEVEL_FILE,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptLogLevelFile,
    },

    // log-level-stderr option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_LOG_LEVEL_STDERR,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptLogLevelStderr,
    },
    {
        .name = "reset-" CFGOPT_LOG_LEVEL_STDERR,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptLogLevelStderr,
    },

    // log-path option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_LOG_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptLogPath,
    },
    {
        .name = "reset-" CFGOPT_LOG_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptLogPath,
    },

    // log-subprocess option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_LOG_SUBPROCESS,
        .val = PARSE_OPTION_FLAG | cfgOptLogSubprocess,
    },
    {
        .name = "no-" CFGOPT_LOG_SUBPROCESS,
        .val = PARSE_OPTION_FLAG | PARSE_NEGATE_FLAG | cfgOptLogSubprocess,
    },
    {
        .name = "reset-" CFGOPT_LOG_SUBPROCESS,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptLogSubprocess,
    },

    // log-timestamp option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_LOG_TIMESTAMP,
        .val = PARSE_OPTION_FLAG | cfgOptLogTimestamp,
    },
    {
        .name = "no-" CFGOPT_LOG_TIMESTAMP,
        .val = PARSE_OPTION_FLAG | PARSE_NEGATE_FLAG | cfgOptLogTimestamp,
    },
    {
        .name = "reset-" CFGOPT_LOG_TIMESTAMP,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptLogTimestamp,
    },

    // manifest-save-threshold option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_MANIFEST_SAVE_THRESHOLD,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptManifestSaveThreshold,
    },
    {
        .name = "reset-" CFGOPT_MANIFEST_SAVE_THRESHOLD,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptManifestSaveThreshold,
    },

    // neutral-umask option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_NEUTRAL_UMASK,
        .val = PARSE_OPTION_FLAG | cfgOptNeutralUmask,
    },
    {
        .name = "no-" CFGOPT_NEUTRAL_UMASK,
        .val = PARSE_OPTION_FLAG | PARSE_NEGATE_FLAG | cfgOptNeutralUmask,
    },
    {
        .name = "reset-" CFGOPT_NEUTRAL_UMASK,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptNeutralUmask,
    },

    // online option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_ONLINE,
        .val = PARSE_OPTION_FLAG | cfgOptOnline,
    },
    {
        .name = "no-" CFGOPT_ONLINE,
        .val = PARSE_OPTION_FLAG | PARSE_NEGATE_FLAG | cfgOptOnline,
    },

    // output option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_OUTPUT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptOutput,
    },

    // pg-host option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_PG1_HOST,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptPgHost,
    },
    {
        .name = "reset-" CFGOPT_PG1_HOST,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptPgHost,
    },
    {
        .name = "db-host",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptPgHost,
    },
    {
        .name = "db1-host",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptPgHost,
    },
    {
        .name = CFGOPT_PG2_HOST,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHost + 1),
    },
    {
        .name = "reset-" CFGOPT_PG2_HOST,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHost + 1),
    },
    {
        .name = "db2-host",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHost + 1),
    },
    {
        .name = CFGOPT_PG3_HOST,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHost + 2),
    },
    {
        .name = "reset-" CFGOPT_PG3_HOST,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHost + 2),
    },
    {
        .name = "db3-host",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHost + 2),
    },
    {
        .name = CFGOPT_PG4_HOST,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHost + 3),
    },
    {
        .name = "reset-" CFGOPT_PG4_HOST,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHost + 3),
    },
    {
        .name = "db4-host",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHost + 3),
    },
    {
        .name = CFGOPT_PG5_HOST,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHost + 4),
    },
    {
        .name = "reset-" CFGOPT_PG5_HOST,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHost + 4),
    },
    {
        .name = "db5-host",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHost + 4),
    },
    {
        .name = CFGOPT_PG6_HOST,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHost + 5),
    },
    {
        .name = "reset-" CFGOPT_PG6_HOST,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHost + 5),
    },
    {
        .name = "db6-host",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHost + 5),
    },
    {
        .name = CFGOPT_PG7_HOST,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHost + 6),
    },
    {
        .name = "reset-" CFGOPT_PG7_HOST,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHost + 6),
    },
    {
        .name = "db7-host",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHost + 6),
    },
    {
        .name = CFGOPT_PG8_HOST,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHost + 7),
    },
    {
        .name = "reset-" CFGOPT_PG8_HOST,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHost + 7),
    },
    {
        .name = "db8-host",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHost + 7),
    },

    // pg-host-cmd option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_PG1_HOST_CMD,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptPgHostCmd,
    },
    {
        .name = "reset-" CFGOPT_PG1_HOST_CMD,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptPgHostCmd,
    },
    {
        .name = "db-cmd",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptPgHostCmd,
    },
    {
        .name = "db1-cmd",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptPgHostCmd,
    },
    {
        .name = CFGOPT_PG2_HOST_CMD,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostCmd + 1),
    },
    {
        .name = "reset-" CFGOPT_PG2_HOST_CMD,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostCmd + 1),
    },
    {
        .name = "db2-cmd",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostCmd + 1),
    },
    {
        .name = CFGOPT_PG3_HOST_CMD,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostCmd + 2),
    },
    {
        .name = "reset-" CFGOPT_PG3_HOST_CMD,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostCmd + 2),
    },
    {
        .name = "db3-cmd",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostCmd + 2),
    },
    {
        .name = CFGOPT_PG4_HOST_CMD,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostCmd + 3),
    },
    {
        .name = "reset-" CFGOPT_PG4_HOST_CMD,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostCmd + 3),
    },
    {
        .name = "db4-cmd",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostCmd + 3),
    },
    {
        .name = CFGOPT_PG5_HOST_CMD,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostCmd + 4),
    },
    {
        .name = "reset-" CFGOPT_PG5_HOST_CMD,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostCmd + 4),
    },
    {
        .name = "db5-cmd",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostCmd + 4),
    },
    {
        .name = CFGOPT_PG6_HOST_CMD,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostCmd + 5),
    },
    {
        .name = "reset-" CFGOPT_PG6_HOST_CMD,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostCmd + 5),
    },
    {
        .name = "db6-cmd",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostCmd + 5),
    },
    {
        .name = CFGOPT_PG7_HOST_CMD,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostCmd + 6),
    },
    {
        .name = "reset-" CFGOPT_PG7_HOST_CMD,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostCmd + 6),
    },
    {
        .name = "db7-cmd",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostCmd + 6),
    },
    {
        .name = CFGOPT_PG8_HOST_CMD,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostCmd + 7),
    },
    {
        .name = "reset-" CFGOPT_PG8_HOST_CMD,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostCmd + 7),
    },
    {
        .name = "db8-cmd",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostCmd + 7),
    },

    // pg-host-config option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_PG1_HOST_CONFIG,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptPgHostConfig,
    },
    {
        .name = "reset-" CFGOPT_PG1_HOST_CONFIG,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptPgHostConfig,
    },
    {
        .name = "db-config",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptPgHostConfig,
    },
    {
        .name = "db1-config",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptPgHostConfig,
    },
    {
        .name = CFGOPT_PG2_HOST_CONFIG,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostConfig + 1),
    },
    {
        .name = "reset-" CFGOPT_PG2_HOST_CONFIG,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostConfig + 1),
    },
    {
        .name = "db2-config",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostConfig + 1),
    },
    {
        .name = CFGOPT_PG3_HOST_CONFIG,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostConfig + 2),
    },
    {
        .name = "reset-" CFGOPT_PG3_HOST_CONFIG,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostConfig + 2),
    },
    {
        .name = "db3-config",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostConfig + 2),
    },
    {
        .name = CFGOPT_PG4_HOST_CONFIG,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostConfig + 3),
    },
    {
        .name = "reset-" CFGOPT_PG4_HOST_CONFIG,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostConfig + 3),
    },
    {
        .name = "db4-config",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostConfig + 3),
    },
    {
        .name = CFGOPT_PG5_HOST_CONFIG,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostConfig + 4),
    },
    {
        .name = "reset-" CFGOPT_PG5_HOST_CONFIG,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostConfig + 4),
    },
    {
        .name = "db5-config",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostConfig + 4),
    },
    {
        .name = CFGOPT_PG6_HOST_CONFIG,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostConfig + 5),
    },
    {
        .name = "reset-" CFGOPT_PG6_HOST_CONFIG,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostConfig + 5),
    },
    {
        .name = "db6-config",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostConfig + 5),
    },
    {
        .name = CFGOPT_PG7_HOST_CONFIG,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostConfig + 6),
    },
    {
        .name = "reset-" CFGOPT_PG7_HOST_CONFIG,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostConfig + 6),
    },
    {
        .name = "db7-config",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostConfig + 6),
    },
    {
        .name = CFGOPT_PG8_HOST_CONFIG,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostConfig + 7),
    },
    {
        .name = "reset-" CFGOPT_PG8_HOST_CONFIG,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostConfig + 7),
    },
    {
        .name = "db8-config",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostConfig + 7),
    },

    // pg-host-config-include-path option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_PG1_HOST_CONFIG_INCLUDE_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptPgHostConfigIncludePath,
    },
    {
        .name = "reset-" CFGOPT_PG1_HOST_CONFIG_INCLUDE_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptPgHostConfigIncludePath,
    },
    {
        .name = CFGOPT_PG2_HOST_CONFIG_INCLUDE_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostConfigIncludePath + 1),
    },
    {
        .name = "reset-" CFGOPT_PG2_HOST_CONFIG_INCLUDE_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostConfigIncludePath + 1),
    },
    {
        .name = CFGOPT_PG3_HOST_CONFIG_INCLUDE_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostConfigIncludePath + 2),
    },
    {
        .name = "reset-" CFGOPT_PG3_HOST_CONFIG_INCLUDE_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostConfigIncludePath + 2),
    },
    {
        .name = CFGOPT_PG4_HOST_CONFIG_INCLUDE_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostConfigIncludePath + 3),
    },
    {
        .name = "reset-" CFGOPT_PG4_HOST_CONFIG_INCLUDE_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostConfigIncludePath + 3),
    },
    {
        .name = CFGOPT_PG5_HOST_CONFIG_INCLUDE_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostConfigIncludePath + 4),
    },
    {
        .name = "reset-" CFGOPT_PG5_HOST_CONFIG_INCLUDE_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostConfigIncludePath + 4),
    },
    {
        .name = CFGOPT_PG6_HOST_CONFIG_INCLUDE_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostConfigIncludePath + 5),
    },
    {
        .name = "reset-" CFGOPT_PG6_HOST_CONFIG_INCLUDE_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostConfigIncludePath + 5),
    },
    {
        .name = CFGOPT_PG7_HOST_CONFIG_INCLUDE_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostConfigIncludePath + 6),
    },
    {
        .name = "reset-" CFGOPT_PG7_HOST_CONFIG_INCLUDE_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostConfigIncludePath + 6),
    },
    {
        .name = CFGOPT_PG8_HOST_CONFIG_INCLUDE_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostConfigIncludePath + 7),
    },
    {
        .name = "reset-" CFGOPT_PG8_HOST_CONFIG_INCLUDE_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostConfigIncludePath + 7),
    },

    // pg-host-config-path option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_PG1_HOST_CONFIG_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptPgHostConfigPath,
    },
    {
        .name = "reset-" CFGOPT_PG1_HOST_CONFIG_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptPgHostConfigPath,
    },
    {
        .name = CFGOPT_PG2_HOST_CONFIG_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostConfigPath + 1),
    },
    {
        .name = "reset-" CFGOPT_PG2_HOST_CONFIG_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostConfigPath + 1),
    },
    {
        .name = CFGOPT_PG3_HOST_CONFIG_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostConfigPath + 2),
    },
    {
        .name = "reset-" CFGOPT_PG3_HOST_CONFIG_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostConfigPath + 2),
    },
    {
        .name = CFGOPT_PG4_HOST_CONFIG_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostConfigPath + 3),
    },
    {
        .name = "reset-" CFGOPT_PG4_HOST_CONFIG_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostConfigPath + 3),
    },
    {
        .name = CFGOPT_PG5_HOST_CONFIG_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostConfigPath + 4),
    },
    {
        .name = "reset-" CFGOPT_PG5_HOST_CONFIG_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostConfigPath + 4),
    },
    {
        .name = CFGOPT_PG6_HOST_CONFIG_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostConfigPath + 5),
    },
    {
        .name = "reset-" CFGOPT_PG6_HOST_CONFIG_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostConfigPath + 5),
    },
    {
        .name = CFGOPT_PG7_HOST_CONFIG_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostConfigPath + 6),
    },
    {
        .name = "reset-" CFGOPT_PG7_HOST_CONFIG_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostConfigPath + 6),
    },
    {
        .name = CFGOPT_PG8_HOST_CONFIG_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostConfigPath + 7),
    },
    {
        .name = "reset-" CFGOPT_PG8_HOST_CONFIG_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostConfigPath + 7),
    },

    // pg-host-port option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_PG1_HOST_PORT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptPgHostPort,
    },
    {
        .name = "reset-" CFGOPT_PG1_HOST_PORT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptPgHostPort,
    },
    {
        .name = "db-ssh-port",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptPgHostPort,
    },
    {
        .name = "db1-ssh-port",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptPgHostPort,
    },
    {
        .name = CFGOPT_PG2_HOST_PORT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostPort + 1),
    },
    {
        .name = "reset-" CFGOPT_PG2_HOST_PORT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostPort + 1),
    },
    {
        .name = "db2-ssh-port",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostPort + 1),
    },
    {
        .name = CFGOPT_PG3_HOST_PORT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostPort + 2),
    },
    {
        .name = "reset-" CFGOPT_PG3_HOST_PORT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostPort + 2),
    },
    {
        .name = "db3-ssh-port",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostPort + 2),
    },
    {
        .name = CFGOPT_PG4_HOST_PORT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostPort + 3),
    },
    {
        .name = "reset-" CFGOPT_PG4_HOST_PORT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostPort + 3),
    },
    {
        .name = "db4-ssh-port",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostPort + 3),
    },
    {
        .name = CFGOPT_PG5_HOST_PORT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostPort + 4),
    },
    {
        .name = "reset-" CFGOPT_PG5_HOST_PORT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostPort + 4),
    },
    {
        .name = "db5-ssh-port",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostPort + 4),
    },
    {
        .name = CFGOPT_PG6_HOST_PORT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostPort + 5),
    },
    {
        .name = "reset-" CFGOPT_PG6_HOST_PORT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostPort + 5),
    },
    {
        .name = "db6-ssh-port",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostPort + 5),
    },
    {
        .name = CFGOPT_PG7_HOST_PORT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostPort + 6),
    },
    {
        .name = "reset-" CFGOPT_PG7_HOST_PORT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostPort + 6),
    },
    {
        .name = "db7-ssh-port",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostPort + 6),
    },
    {
        .name = CFGOPT_PG8_HOST_PORT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostPort + 7),
    },
    {
        .name = "reset-" CFGOPT_PG8_HOST_PORT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostPort + 7),
    },
    {
        .name = "db8-ssh-port",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostPort + 7),
    },

    // pg-host-user option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_PG1_HOST_USER,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptPgHostUser,
    },
    {
        .name = "reset-" CFGOPT_PG1_HOST_USER,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptPgHostUser,
    },
    {
        .name = "db-user",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptPgHostUser,
    },
    {
        .name = "db1-user",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptPgHostUser,
    },
    {
        .name = CFGOPT_PG2_HOST_USER,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostUser + 1),
    },
    {
        .name = "reset-" CFGOPT_PG2_HOST_USER,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostUser + 1),
    },
    {
        .name = "db2-user",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostUser + 1),
    },
    {
        .name = CFGOPT_PG3_HOST_USER,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostUser + 2),
    },
    {
        .name = "reset-" CFGOPT_PG3_HOST_USER,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostUser + 2),
    },
    {
        .name = "db3-user",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostUser + 2),
    },
    {
        .name = CFGOPT_PG4_HOST_USER,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostUser + 3),
    },
    {
        .name = "reset-" CFGOPT_PG4_HOST_USER,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostUser + 3),
    },
    {
        .name = "db4-user",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostUser + 3),
    },
    {
        .name = CFGOPT_PG5_HOST_USER,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostUser + 4),
    },
    {
        .name = "reset-" CFGOPT_PG5_HOST_USER,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostUser + 4),
    },
    {
        .name = "db5-user",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostUser + 4),
    },
    {
        .name = CFGOPT_PG6_HOST_USER,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostUser + 5),
    },
    {
        .name = "reset-" CFGOPT_PG6_HOST_USER,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostUser + 5),
    },
    {
        .name = "db6-user",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostUser + 5),
    },
    {
        .name = CFGOPT_PG7_HOST_USER,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostUser + 6),
    },
    {
        .name = "reset-" CFGOPT_PG7_HOST_USER,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostUser + 6),
    },
    {
        .name = "db7-user",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostUser + 6),
    },
    {
        .name = CFGOPT_PG8_HOST_USER,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgHostUser + 7),
    },
    {
        .name = "reset-" CFGOPT_PG8_HOST_USER,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgHostUser + 7),
    },
    {
        .name = "db8-user",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgHostUser + 7),
    },

    // pg-path option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_PG1_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptPgPath,
    },
    {
        .name = "reset-" CFGOPT_PG1_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptPgPath,
    },
    {
        .name = "db-path",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptPgPath,
    },
    {
        .name = "db1-path",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptPgPath,
    },
    {
        .name = CFGOPT_PG2_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgPath + 1),
    },
    {
        .name = "reset-" CFGOPT_PG2_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgPath + 1),
    },
    {
        .name = "db2-path",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgPath + 1),
    },
    {
        .name = CFGOPT_PG3_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgPath + 2),
    },
    {
        .name = "reset-" CFGOPT_PG3_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgPath + 2),
    },
    {
        .name = "db3-path",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgPath + 2),
    },
    {
        .name = CFGOPT_PG4_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgPath + 3),
    },
    {
        .name = "reset-" CFGOPT_PG4_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgPath + 3),
    },
    {
        .name = "db4-path",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgPath + 3),
    },
    {
        .name = CFGOPT_PG5_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgPath + 4),
    },
    {
        .name = "reset-" CFGOPT_PG5_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgPath + 4),
    },
    {
        .name = "db5-path",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgPath + 4),
    },
    {
        .name = CFGOPT_PG6_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgPath + 5),
    },
    {
        .name = "reset-" CFGOPT_PG6_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgPath + 5),
    },
    {
        .name = "db6-path",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgPath + 5),
    },
    {
        .name = CFGOPT_PG7_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgPath + 6),
    },
    {
        .name = "reset-" CFGOPT_PG7_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgPath + 6),
    },
    {
        .name = "db7-path",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgPath + 6),
    },
    {
        .name = CFGOPT_PG8_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgPath + 7),
    },
    {
        .name = "reset-" CFGOPT_PG8_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgPath + 7),
    },
    {
        .name = "db8-path",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgPath + 7),
    },

    // pg-port option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_PG1_PORT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptPgPort,
    },
    {
        .name = "reset-" CFGOPT_PG1_PORT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptPgPort,
    },
    {
        .name = "db-port",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptPgPort,
    },
    {
        .name = "db1-port",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptPgPort,
    },
    {
        .name = CFGOPT_PG2_PORT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgPort + 1),
    },
    {
        .name = "reset-" CFGOPT_PG2_PORT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgPort + 1),
    },
    {
        .name = "db2-port",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgPort + 1),
    },
    {
        .name = CFGOPT_PG3_PORT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgPort + 2),
    },
    {
        .name = "reset-" CFGOPT_PG3_PORT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgPort + 2),
    },
    {
        .name = "db3-port",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgPort + 2),
    },
    {
        .name = CFGOPT_PG4_PORT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgPort + 3),
    },
    {
        .name = "reset-" CFGOPT_PG4_PORT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgPort + 3),
    },
    {
        .name = "db4-port",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgPort + 3),
    },
    {
        .name = CFGOPT_PG5_PORT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgPort + 4),
    },
    {
        .name = "reset-" CFGOPT_PG5_PORT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgPort + 4),
    },
    {
        .name = "db5-port",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgPort + 4),
    },
    {
        .name = CFGOPT_PG6_PORT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgPort + 5),
    },
    {
        .name = "reset-" CFGOPT_PG6_PORT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgPort + 5),
    },
    {
        .name = "db6-port",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgPort + 5),
    },
    {
        .name = CFGOPT_PG7_PORT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgPort + 6),
    },
    {
        .name = "reset-" CFGOPT_PG7_PORT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgPort + 6),
    },
    {
        .name = "db7-port",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgPort + 6),
    },
    {
        .name = CFGOPT_PG8_PORT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgPort + 7),
    },
    {
        .name = "reset-" CFGOPT_PG8_PORT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgPort + 7),
    },
    {
        .name = "db8-port",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgPort + 7),
    },

    // pg-socket-path option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_PG1_SOCKET_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptPgSocketPath,
    },
    {
        .name = "reset-" CFGOPT_PG1_SOCKET_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptPgSocketPath,
    },
    {
        .name = "db-socket-path",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptPgSocketPath,
    },
    {
        .name = "db1-socket-path",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptPgSocketPath,
    },
    {
        .name = CFGOPT_PG2_SOCKET_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgSocketPath + 1),
    },
    {
        .name = "reset-" CFGOPT_PG2_SOCKET_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgSocketPath + 1),
    },
    {
        .name = "db2-socket-path",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgSocketPath + 1),
    },
    {
        .name = CFGOPT_PG3_SOCKET_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgSocketPath + 2),
    },
    {
        .name = "reset-" CFGOPT_PG3_SOCKET_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgSocketPath + 2),
    },
    {
        .name = "db3-socket-path",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgSocketPath + 2),
    },
    {
        .name = CFGOPT_PG4_SOCKET_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgSocketPath + 3),
    },
    {
        .name = "reset-" CFGOPT_PG4_SOCKET_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgSocketPath + 3),
    },
    {
        .name = "db4-socket-path",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgSocketPath + 3),
    },
    {
        .name = CFGOPT_PG5_SOCKET_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgSocketPath + 4),
    },
    {
        .name = "reset-" CFGOPT_PG5_SOCKET_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgSocketPath + 4),
    },
    {
        .name = "db5-socket-path",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgSocketPath + 4),
    },
    {
        .name = CFGOPT_PG6_SOCKET_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgSocketPath + 5),
    },
    {
        .name = "reset-" CFGOPT_PG6_SOCKET_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgSocketPath + 5),
    },
    {
        .name = "db6-socket-path",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgSocketPath + 5),
    },
    {
        .name = CFGOPT_PG7_SOCKET_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgSocketPath + 6),
    },
    {
        .name = "reset-" CFGOPT_PG7_SOCKET_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgSocketPath + 6),
    },
    {
        .name = "db7-socket-path",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgSocketPath + 6),
    },
    {
        .name = CFGOPT_PG8_SOCKET_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgSocketPath + 7),
    },
    {
        .name = "reset-" CFGOPT_PG8_SOCKET_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgSocketPath + 7),
    },
    {
        .name = "db8-socket-path",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | (cfgOptPgSocketPath + 7),
    },

    // pg-user option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_PG1_USER,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptPgUser,
    },
    {
        .name = "reset-" CFGOPT_PG1_USER,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptPgUser,
    },
    {
        .name = CFGOPT_PG2_USER,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgUser + 1),
    },
    {
        .name = "reset-" CFGOPT_PG2_USER,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgUser + 1),
    },
    {
        .name = CFGOPT_PG3_USER,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgUser + 2),
    },
    {
        .name = "reset-" CFGOPT_PG3_USER,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgUser + 2),
    },
    {
        .name = CFGOPT_PG4_USER,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgUser + 3),
    },
    {
        .name = "reset-" CFGOPT_PG4_USER,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgUser + 3),
    },
    {
        .name = CFGOPT_PG5_USER,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgUser + 4),
    },
    {
        .name = "reset-" CFGOPT_PG5_USER,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgUser + 4),
    },
    {
        .name = CFGOPT_PG6_USER,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgUser + 5),
    },
    {
        .name = "reset-" CFGOPT_PG6_USER,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgUser + 5),
    },
    {
        .name = CFGOPT_PG7_USER,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgUser + 6),
    },
    {
        .name = "reset-" CFGOPT_PG7_USER,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgUser + 6),
    },
    {
        .name = CFGOPT_PG8_USER,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | (cfgOptPgUser + 7),
    },
    {
        .name = "reset-" CFGOPT_PG8_USER,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | (cfgOptPgUser + 7),
    },

    // process option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_PROCESS,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptProcess,
    },

    // process-max option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_PROCESS_MAX,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptProcessMax,
    },
    {
        .name = "reset-" CFGOPT_PROCESS_MAX,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptProcessMax,
    },

    // protocol-timeout option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_PROTOCOL_TIMEOUT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptProtocolTimeout,
    },
    {
        .name = "reset-" CFGOPT_PROTOCOL_TIMEOUT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptProtocolTimeout,
    },

    // raw option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_RAW,
        .val = PARSE_OPTION_FLAG | cfgOptRaw,
    },

    // recovery-option option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_RECOVERY_OPTION,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRecoveryOption,
    },
    {
        .name = "reset-" CFGOPT_RECOVERY_OPTION,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRecoveryOption,
    },

    // recurse option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_RECURSE,
        .val = PARSE_OPTION_FLAG | cfgOptRecurse,
    },

    // remote-type option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REMOTE_TYPE,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRemoteType,
    },

    // repo-cipher-pass option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_CIPHER_PASS,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoCipherPass,
    },
    {
        .name = "reset-" CFGOPT_REPO1_CIPHER_PASS,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoCipherPass,
    },
    {
        .name = "repo-cipher-pass",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoCipherPass,
    },

    // repo-cipher-type option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_CIPHER_TYPE,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoCipherType,
    },
    {
        .name = "reset-" CFGOPT_REPO1_CIPHER_TYPE,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoCipherType,
    },
    {
        .name = "repo-cipher-type",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoCipherType,
    },

    // repo-hardlink option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_HARDLINK,
        .val = PARSE_OPTION_FLAG | cfgOptRepoHardlink,
    },
    {
        .name = "no-" CFGOPT_REPO1_HARDLINK,
        .val = PARSE_OPTION_FLAG | PARSE_NEGATE_FLAG | cfgOptRepoHardlink,
    },
    {
        .name = "reset-" CFGOPT_REPO1_HARDLINK,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoHardlink,
    },
    {
        .name = "hardlink",
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoHardlink,
    },
    {
        .name = "no-hardlink",
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | PARSE_NEGATE_FLAG | cfgOptRepoHardlink,
    },

    // repo-host option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_HOST,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoHost,
    },
    {
        .name = "reset-" CFGOPT_REPO1_HOST,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoHost,
    },
    {
        .name = "backup-host",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoHost,
    },

    // repo-host-cmd option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_HOST_CMD,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoHostCmd,
    },
    {
        .name = "reset-" CFGOPT_REPO1_HOST_CMD,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoHostCmd,
    },
    {
        .name = "backup-cmd",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoHostCmd,
    },

    // repo-host-config option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_HOST_CONFIG,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoHostConfig,
    },
    {
        .name = "reset-" CFGOPT_REPO1_HOST_CONFIG,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoHostConfig,
    },
    {
        .name = "backup-config",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoHostConfig,
    },

    // repo-host-config-include-path option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_HOST_CONFIG_INCLUDE_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoHostConfigIncludePath,
    },
    {
        .name = "reset-" CFGOPT_REPO1_HOST_CONFIG_INCLUDE_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoHostConfigIncludePath,
    },

    // repo-host-config-path option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_HOST_CONFIG_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoHostConfigPath,
    },
    {
        .name = "reset-" CFGOPT_REPO1_HOST_CONFIG_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoHostConfigPath,
    },

    // repo-host-port option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_HOST_PORT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoHostPort,
    },
    {
        .name = "reset-" CFGOPT_REPO1_HOST_PORT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoHostPort,
    },
    {
        .name = "backup-ssh-port",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoHostPort,
    },

    // repo-host-user option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_HOST_USER,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoHostUser,
    },
    {
        .name = "reset-" CFGOPT_REPO1_HOST_USER,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoHostUser,
    },
    {
        .name = "backup-user",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoHostUser,
    },

    // repo-path option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoPath,
    },
    {
        .name = "reset-" CFGOPT_REPO1_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoPath,
    },
    {
        .name = "repo-path",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoPath,
    },

    // repo-retention-archive option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_RETENTION_ARCHIVE,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoRetentionArchive,
    },
    {
        .name = "reset-" CFGOPT_REPO1_RETENTION_ARCHIVE,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoRetentionArchive,
    },
    {
        .name = "retention-archive",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoRetentionArchive,
    },

    // repo-retention-archive-type option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_RETENTION_ARCHIVE_TYPE,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoRetentionArchiveType,
    },
    {
        .name = "reset-" CFGOPT_REPO1_RETENTION_ARCHIVE_TYPE,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoRetentionArchiveType,
    },
    {
        .name = "retention-archive-type",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoRetentionArchiveType,
    },

    // repo-retention-diff option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_RETENTION_DIFF,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoRetentionDiff,
    },
    {
        .name = "reset-" CFGOPT_REPO1_RETENTION_DIFF,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoRetentionDiff,
    },
    {
        .name = "retention-diff",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoRetentionDiff,
    },

    // repo-retention-full option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_RETENTION_FULL,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoRetentionFull,
    },
    {
        .name = "reset-" CFGOPT_REPO1_RETENTION_FULL,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoRetentionFull,
    },
    {
        .name = "retention-full",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoRetentionFull,
    },

    // repo-s3-bucket option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_S3_BUCKET,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoS3Bucket,
    },
    {
        .name = "reset-" CFGOPT_REPO1_S3_BUCKET,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoS3Bucket,
    },
    {
        .name = "repo-s3-bucket",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoS3Bucket,
    },

    // repo-s3-ca-file option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_S3_CA_FILE,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoS3CaFile,
    },
    {
        .name = "reset-" CFGOPT_REPO1_S3_CA_FILE,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoS3CaFile,
    },
    {
        .name = "repo-s3-ca-file",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoS3CaFile,
    },

    // repo-s3-ca-path option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_S3_CA_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoS3CaPath,
    },
    {
        .name = "reset-" CFGOPT_REPO1_S3_CA_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoS3CaPath,
    },
    {
        .name = "repo-s3-ca-path",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoS3CaPath,
    },

    // repo-s3-endpoint option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_S3_ENDPOINT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoS3Endpoint,
    },
    {
        .name = "reset-" CFGOPT_REPO1_S3_ENDPOINT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoS3Endpoint,
    },
    {
        .name = "repo-s3-endpoint",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoS3Endpoint,
    },

    // repo-s3-host option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_S3_HOST,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoS3Host,
    },
    {
        .name = "reset-" CFGOPT_REPO1_S3_HOST,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoS3Host,
    },
    {
        .name = "repo-s3-host",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoS3Host,
    },

    // repo-s3-key option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_S3_KEY,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoS3Key,
    },
    {
        .name = "reset-" CFGOPT_REPO1_S3_KEY,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoS3Key,
    },
    {
        .name = "repo-s3-key",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoS3Key,
    },

    // repo-s3-key-secret option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_S3_KEY_SECRET,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoS3KeySecret,
    },
    {
        .name = "reset-" CFGOPT_REPO1_S3_KEY_SECRET,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoS3KeySecret,
    },
    {
        .name = "repo-s3-key-secret",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoS3KeySecret,
    },

    // repo-s3-port option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_S3_PORT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoS3Port,
    },
    {
        .name = "reset-" CFGOPT_REPO1_S3_PORT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoS3Port,
    },

    // repo-s3-region option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_S3_REGION,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoS3Region,
    },
    {
        .name = "reset-" CFGOPT_REPO1_S3_REGION,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoS3Region,
    },
    {
        .name = "repo-s3-region",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoS3Region,
    },

    // repo-s3-token option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_S3_TOKEN,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoS3Token,
    },
    {
        .name = "reset-" CFGOPT_REPO1_S3_TOKEN,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoS3Token,
    },

    // repo-s3-uri-style option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_S3_URI_STYLE,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoS3UriStyle,
    },
    {
        .name = "reset-" CFGOPT_REPO1_S3_URI_STYLE,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoS3UriStyle,
    },

    // repo-s3-verify-tls option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_S3_VERIFY_TLS,
        .val = PARSE_OPTION_FLAG | cfgOptRepoS3VerifyTls,
    },
    {
        .name = "no-" CFGOPT_REPO1_S3_VERIFY_TLS,
        .val = PARSE_OPTION_FLAG | PARSE_NEGATE_FLAG | cfgOptRepoS3VerifyTls,
    },
    {
        .name = "reset-" CFGOPT_REPO1_S3_VERIFY_TLS,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoS3VerifyTls,
    },
    {
        .name = "repo-s3-verify-ssl",
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoS3VerifyTls,
    },
    {
        .name = "no-repo-s3-verify-ssl",
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | PARSE_NEGATE_FLAG | cfgOptRepoS3VerifyTls,
    },
    {
        .name = "repo1-s3-verify-ssl",
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoS3VerifyTls,
    },
    {
        .name = "no-repo1-s3-verify-ssl",
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | PARSE_NEGATE_FLAG | cfgOptRepoS3VerifyTls,
    },

    // repo-type option and deprecations
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_REPO1_TYPE,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptRepoType,
    },
    {
        .name = "reset-" CFGOPT_REPO1_TYPE,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptRepoType,
    },
    {
        .name = "repo-type",
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | PARSE_DEPRECATE_FLAG | cfgOptRepoType,
    },

    // resume option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_RESUME,
        .val = PARSE_OPTION_FLAG | cfgOptResume,
    },
    {
        .name = "no-" CFGOPT_RESUME,
        .val = PARSE_OPTION_FLAG | PARSE_NEGATE_FLAG | cfgOptResume,
    },
    {
        .name = "reset-" CFGOPT_RESUME,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptResume,
    },

    // sck-block option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_SCK_BLOCK,
        .val = PARSE_OPTION_FLAG | cfgOptSckBlock,
    },
    {
        .name = "no-" CFGOPT_SCK_BLOCK,
        .val = PARSE_OPTION_FLAG | PARSE_NEGATE_FLAG | cfgOptSckBlock,
    },
    {
        .name = "reset-" CFGOPT_SCK_BLOCK,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptSckBlock,
    },

    // sck-keep-alive option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_SCK_KEEP_ALIVE,
        .val = PARSE_OPTION_FLAG | cfgOptSckKeepAlive,
    },
    {
        .name = "no-" CFGOPT_SCK_KEEP_ALIVE,
        .val = PARSE_OPTION_FLAG | PARSE_NEGATE_FLAG | cfgOptSckKeepAlive,
    },
    {
        .name = "reset-" CFGOPT_SCK_KEEP_ALIVE,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptSckKeepAlive,
    },

    // set option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_SET,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptSet,
    },

    // sort option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_SORT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptSort,
    },

    // spool-path option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_SPOOL_PATH,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptSpoolPath,
    },
    {
        .name = "reset-" CFGOPT_SPOOL_PATH,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptSpoolPath,
    },

    // stanza option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_STANZA,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptStanza,
    },

    // start-fast option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_START_FAST,
        .val = PARSE_OPTION_FLAG | cfgOptStartFast,
    },
    {
        .name = "no-" CFGOPT_START_FAST,
        .val = PARSE_OPTION_FLAG | PARSE_NEGATE_FLAG | cfgOptStartFast,
    },
    {
        .name = "reset-" CFGOPT_START_FAST,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptStartFast,
    },

    // stop-auto option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_STOP_AUTO,
        .val = PARSE_OPTION_FLAG | cfgOptStopAuto,
    },
    {
        .name = "no-" CFGOPT_STOP_AUTO,
        .val = PARSE_OPTION_FLAG | PARSE_NEGATE_FLAG | cfgOptStopAuto,
    },
    {
        .name = "reset-" CFGOPT_STOP_AUTO,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptStopAuto,
    },

    // tablespace-map option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_TABLESPACE_MAP,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptTablespaceMap,
    },
    {
        .name = "reset-" CFGOPT_TABLESPACE_MAP,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptTablespaceMap,
    },

    // tablespace-map-all option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_TABLESPACE_MAP_ALL,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptTablespaceMapAll,
    },
    {
        .name = "reset-" CFGOPT_TABLESPACE_MAP_ALL,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptTablespaceMapAll,
    },

    // target option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_TARGET,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptTarget,
    },

    // target-action option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_TARGET_ACTION,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptTargetAction,
    },

    // target-exclusive option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_TARGET_EXCLUSIVE,
        .val = PARSE_OPTION_FLAG | cfgOptTargetExclusive,
    },

    // target-timeline option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_TARGET_TIMELINE,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptTargetTimeline,
    },

    // tcp-keep-alive-count option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_TCP_KEEP_ALIVE_COUNT,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptTcpKeepAliveCount,
    },
    {
        .name = "reset-" CFGOPT_TCP_KEEP_ALIVE_COUNT,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptTcpKeepAliveCount,
    },

    // tcp-keep-alive-idle option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_TCP_KEEP_ALIVE_IDLE,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptTcpKeepAliveIdle,
    },
    {
        .name = "reset-" CFGOPT_TCP_KEEP_ALIVE_IDLE,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptTcpKeepAliveIdle,
    },

    // tcp-keep-alive-interval option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_TCP_KEEP_ALIVE_INTERVAL,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptTcpKeepAliveInterval,
    },
    {
        .name = "reset-" CFGOPT_TCP_KEEP_ALIVE_INTERVAL,
        .val = PARSE_OPTION_FLAG | PARSE_RESET_FLAG | cfgOptTcpKeepAliveInterval,
    },

    // type option
    // -----------------------------------------------------------------------------------------------------------------------------
    {
        .name = CFGOPT_TYPE,
        .has_arg = required_argument,
        .val = PARSE_OPTION_FLAG | cfgOptType,
    },
    // Terminate option list
    {
        .name = NULL
    }
};

/***********************************************************************************************************************************
Order for option parse resolution
***********************************************************************************************************************************/
static const ConfigOption optionResolveOrder[] =
{
    cfgOptStanza,
    cfgOptArchiveAsync,
    cfgOptArchiveGetQueueMax,
    cfgOptArchivePushQueueMax,
    cfgOptArchiveTimeout,
    cfgOptBackupStandby,
    cfgOptBufferSize,
    cfgOptChecksumPage,
    cfgOptCipherPass,
    cfgOptCmdSsh,
    cfgOptCompress,
    cfgOptCompressLevel,
    cfgOptCompressLevelNetwork,
    cfgOptCompressType,
    cfgOptConfig,
    cfgOptConfigIncludePath,
    cfgOptConfigPath,
    cfgOptDbInclude,
    cfgOptDbTimeout,
    cfgOptDelta,
    cfgOptDryRun,
    cfgOptExclude,
    cfgOptFilter,
    cfgOptHostId,
    cfgOptIgnoreMissing,
    cfgOptIoTimeout,
    cfgOptLinkAll,
    cfgOptLinkMap,
    cfgOptLockPath,
    cfgOptLogLevelConsole,
    cfgOptLogLevelFile,
    cfgOptLogLevelStderr,
    cfgOptLogPath,
    cfgOptLogSubprocess,
    cfgOptLogTimestamp,
    cfgOptManifestSaveThreshold,
    cfgOptNeutralUmask,
    cfgOptOnline,
    cfgOptOutput,
    cfgOptPgHost,
    cfgOptPgHost + 1,
    cfgOptPgHost + 2,
    cfgOptPgHost + 3,
    cfgOptPgHost + 4,
    cfgOptPgHost + 5,
    cfgOptPgHost + 6,
    cfgOptPgHost + 7,
    cfgOptPgHostCmd,
    cfgOptPgHostCmd + 1,
    cfgOptPgHostCmd + 2,
    cfgOptPgHostCmd + 3,
    cfgOptPgHostCmd + 4,
    cfgOptPgHostCmd + 5,
    cfgOptPgHostCmd + 6,
    cfgOptPgHostCmd + 7,
    cfgOptPgHostConfig,
    cfgOptPgHostConfig + 1,
    cfgOptPgHostConfig + 2,
    cfgOptPgHostConfig + 3,
    cfgOptPgHostConfig + 4,
    cfgOptPgHostConfig + 5,
    cfgOptPgHostConfig + 6,
    cfgOptPgHostConfig + 7,
    cfgOptPgHostConfigIncludePath,
    cfgOptPgHostConfigIncludePath + 1,
    cfgOptPgHostConfigIncludePath + 2,
    cfgOptPgHostConfigIncludePath + 3,
    cfgOptPgHostConfigIncludePath + 4,
    cfgOptPgHostConfigIncludePath + 5,
    cfgOptPgHostConfigIncludePath + 6,
    cfgOptPgHostConfigIncludePath + 7,
    cfgOptPgHostConfigPath,
    cfgOptPgHostConfigPath + 1,
    cfgOptPgHostConfigPath + 2,
    cfgOptPgHostConfigPath + 3,
    cfgOptPgHostConfigPath + 4,
    cfgOptPgHostConfigPath + 5,
    cfgOptPgHostConfigPath + 6,
    cfgOptPgHostConfigPath + 7,
    cfgOptPgHostPort,
    cfgOptPgHostPort + 1,
    cfgOptPgHostPort + 2,
    cfgOptPgHostPort + 3,
    cfgOptPgHostPort + 4,
    cfgOptPgHostPort + 5,
    cfgOptPgHostPort + 6,
    cfgOptPgHostPort + 7,
    cfgOptPgHostUser,
    cfgOptPgHostUser + 1,
    cfgOptPgHostUser + 2,
    cfgOptPgHostUser + 3,
    cfgOptPgHostUser + 4,
    cfgOptPgHostUser + 5,
    cfgOptPgHostUser + 6,
    cfgOptPgHostUser + 7,
    cfgOptPgPath,
    cfgOptPgPath + 1,
    cfgOptPgPath + 2,
    cfgOptPgPath + 3,
    cfgOptPgPath + 4,
    cfgOptPgPath + 5,
    cfgOptPgPath + 6,
    cfgOptPgPath + 7,
    cfgOptPgPort,
    cfgOptPgPort + 1,
    cfgOptPgPort + 2,
    cfgOptPgPort + 3,
    cfgOptPgPort + 4,
    cfgOptPgPort + 5,
    cfgOptPgPort + 6,
    cfgOptPgPort + 7,
    cfgOptPgSocketPath,
    cfgOptPgSocketPath + 1,
    cfgOptPgSocketPath + 2,
    cfgOptPgSocketPath + 3,
    cfgOptPgSocketPath + 4,
    cfgOptPgSocketPath + 5,
    cfgOptPgSocketPath + 6,
    cfgOptPgSocketPath + 7,
    cfgOptPgUser,
    cfgOptPgUser + 1,
    cfgOptPgUser + 2,
    cfgOptPgUser + 3,
    cfgOptPgUser + 4,
    cfgOptPgUser + 5,
    cfgOptPgUser + 6,
    cfgOptPgUser + 7,
    cfgOptProcess,
    cfgOptProcessMax,
    cfgOptProtocolTimeout,
    cfgOptRaw,
    cfgOptRecurse,
    cfgOptRemoteType,
    cfgOptRepoCipherType,
    cfgOptRepoHardlink,
    cfgOptRepoHost,
    cfgOptRepoHostCmd,
    cfgOptRepoHostConfig,
    cfgOptRepoHostConfigIncludePath,
    cfgOptRepoHostConfigPath,
    cfgOptRepoHostPort,
    cfgOptRepoHostUser,
    cfgOptRepoPath,
    cfgOptRepoRetentionArchive,
    cfgOptRepoRetentionArchiveType,
    cfgOptRepoRetentionDiff,
    cfgOptRepoRetentionFull,
    cfgOptRepoType,
    cfgOptResume,
    cfgOptSckBlock,
    cfgOptSckKeepAlive,
    cfgOptSet,
    cfgOptSort,
    cfgOptSpoolPath,
    cfgOptStartFast,
    cfgOptStopAuto,
    cfgOptTablespaceMap,
    cfgOptTablespaceMapAll,
    cfgOptTcpKeepAliveCount,
    cfgOptTcpKeepAliveIdle,
    cfgOptTcpKeepAliveInterval,
    cfgOptType,
    cfgOptArchiveCheck,
    cfgOptArchiveCopy,
    cfgOptForce,
    cfgOptRecoveryOption,
    cfgOptRepoCipherPass,
    cfgOptRepoS3Bucket,
    cfgOptRepoS3CaFile,
    cfgOptRepoS3CaPath,
    cfgOptRepoS3Endpoint,
    cfgOptRepoS3Host,
    cfgOptRepoS3Key,
    cfgOptRepoS3KeySecret,
    cfgOptRepoS3Port,
    cfgOptRepoS3Region,
    cfgOptRepoS3Token,
    cfgOptRepoS3UriStyle,
    cfgOptRepoS3VerifyTls,
    cfgOptTarget,
    cfgOptTargetAction,
    cfgOptTargetExclusive,
    cfgOptTargetTimeline,
};
