aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/psql/command.c')
-rw-r--r--src/bin/psql/command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index 0db6cd5562e..ea20aa20d41 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -117,6 +117,8 @@ HandleSlashCmds(PsqlSettings *pset,
my_line[blank_loc] = '\0';
}
+ options[0] = NULL;
+
if (options_string)
{
char quote;