Handle some deprecated command line options

This commit is contained in:
Ian Barwick
2017-06-23 14:18:17 +09:00
parent 3e3607167c
commit 0823a83f92
2 changed files with 11 additions and 4 deletions

View File

@@ -435,8 +435,14 @@ main(int argc, char **argv)
/* options deprecated since 3.3 *
* ---------------------------- */
case OPT_DATA_DIR:
item_list_append(&cli_warnings,
_("--data-dir is deprecated; use -D/--pgdata instead"));
break;
case OPT_NO_CONNINFO_PASSWORD:
item_list_append(&cli_warnings,
_("--no-conninfo-password is deprecated; pasuse --use-recovery-conninfo-password to explicitly set a password"));
break;
}
}