Skip to content

Commit 94d4986

Browse files
committed
fix a typo in error message
1 parent c5887e7 commit 94d4986

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pg_probackup.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,8 @@ main(int argc, char *argv[])
365365
else
366366
return do_delete(current.backup_id);
367367
case SHOW_CONFIG:
368-
if (argc > 5)
369-
elog(ERROR, "show-config command doesn't accept any options");
368+
if (argc > 6)
369+
elog(ERROR, "show-config command doesn't accept any options except -B and --instance");
370370
return do_configure(true);
371371
case SET_CONFIG:
372372
if (argc == 5)

0 commit comments

Comments
 (0)