File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 3
3
*
4
4
* Copyright 2000 by PostgreSQL Global Development Group
5
5
*
6
- * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.31 2000/04/16 20:04:50 petere Exp $
6
+ * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.32 2000/05/05 09:38:40 petere Exp $
7
7
*/
8
8
#include "postgres.h"
9
9
#include "command.h"
@@ -778,7 +778,10 @@ exec_command(const char *cmd,
778
778
779
779
/* eat the rest of the options string */
780
780
while ((val = scan_option (& string , OT_NORMAL , NULL )))
781
- psql_error ("\\%s: extra argument '%s' ignored\n" , cmd , val );
781
+ {
782
+ if (status != CMD_UNKNOWN )
783
+ psql_error ("\\%s: extra argument '%s' ignored\n" , cmd , val );
784
+ }
782
785
783
786
if (options_string && continue_parse )
784
787
* continue_parse = options_string + (string - string_cpy );
You can’t perform that action at this time.
0 commit comments