Fix -w and -W options. They were inverted.

This commit is contained in:
Takahiro Itagaki
2010-06-18 01:12:28 +00:00
parent 67a5d7b786
commit d490a1b458
5 changed files with 33 additions and 11 deletions

View File

@ -475,8 +475,8 @@ static pgut_option default_options[] =
{ 's', 'h', "host" , &host },
{ 's', 'p', "port" , &port },
{ 's', 'U', "username" , &username },
{ 'y', 'w', "no-password" , &prompt_password },
{ 'Y', 'W', "password" , &prompt_password },
{ 'Y', 'w', "no-password" , &prompt_password },
{ 'y', 'W', "password" , &prompt_password },
{ 0 }
};