Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd7157d3

Browse files
committed
The -R option didn't accept an argument, which made it kind of useless.
1 parentf69ff0c commitd7157d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/bin/psql/startup.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright 2000 by PostgreSQL Global Development Group
55
*
6-
* $Header: /cvsroot/pgsql/src/bin/psql/startup.c,v 1.41 2000/11/27 02:20:36 tgl Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/startup.c,v 1.42 2001/01/23 22:46:14 petere Exp $
77
*/
88
#include"postgres.h"
99

@@ -368,14 +368,14 @@ parse_psql_options(int argc, char *argv[], struct adhoc_opts * options)
368368
memset(options,0,sizeof*options);
369369

370370
#ifdefHAVE_GETOPT_LONG
371-
while ((c=getopt_long(argc,argv,"aAc:d:eEf:F:lh:Hno:p:P:qRsStT:uU:v:VWxX?",long_options,&optindex))!=-1)
371+
while ((c=getopt_long(argc,argv,"aAc:d:eEf:F:h:Hlno:p:P:qR:sStT:uU:v:VWxX?",long_options,&optindex))!=-1)
372372
#else/* not HAVE_GETOPT_LONG */
373373

374374
/*
375375
* Be sure to leave the '-' in here, so we can catch accidental long
376376
* options.
377377
*/
378-
while ((c=getopt(argc,argv,"aAc:d:eEf:F:lh:Hno:p:P:qRsStT:uU:v:VWxX?-"))!=-1)
378+
while ((c=getopt(argc,argv,"aAc:d:eEf:F:h:Hlno:p:P:qR:sStT:uU:v:VWxX?-"))!=-1)
379379
#endif/* not HAVE_GETOPT_LONG */
380380
{
381381
switch (c)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp