!492 Delete the command line option parse about -O of gaussdb.

Merge pull request !492 from Yuejia/master
This commit is contained in:
opengauss-bot
2020-12-16 16:45:41 +08:00
committed by Gitee

View File

@ -1186,7 +1186,7 @@ int PostmasterMain(int argc, char* argv[])
* common help() function in main/main.c.
*/
initOptParseContext(&optCtxt);
while ((opt = getopt_r(argc, argv, "A:B:bc:C:D:d:EeFf:h:ijk:lM:N:nOo:Pp:Rr:S:sTt:u:W:-:", &optCtxt)) != -1) {
while ((opt = getopt_r(argc, argv, "A:B:bc:C:D:d:EeFf:h:ijk:lM:N:no:Pp:Rr:S:sTt:u:W:-:", &optCtxt)) != -1) {
switch (opt) {
case 'A':
SetConfigOption("debug_assertions", optCtxt.optarg, PGC_POSTMASTER, PGC_S_ARGV);