提交 3ed05465 编写于 作者: J Jacob Champion

pg_rewind: fix -R and -S options

A character transposition in the getopt_long() string meant that the
option meant for -S was being applied to -R:

    pg_rewind: option requires an argument -- R

Fix that.
上级 89f53441
......@@ -125,7 +125,7 @@ main(int argc, char **argv)
}
}
while ((c = getopt_long(argc, argv, "D:nPR:S", long_options, &option_index)) != -1)
while ((c = getopt_long(argc, argv, "D:nPRS:", long_options, &option_index)) != -1)
{
switch (c)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册