@@ -230,7 +230,7 @@ static pgut_option options[] =
230
230
{ 's' , 's' , "tablespace" , & tablespace },
231
231
{ 'b' , 'S' , "moveidx" , & moveidx },
232
232
{ 's' , 'i' , "index" , & r_index },
233
- { 'b' , 'x' , "only-index " , & only_indexes },
233
+ { 'b' , 'x' , "only-indexes " , & only_indexes },
234
234
{ 'i' , 'T' , "wait-timeout" , & wait_timeout },
235
235
{ 'B' , 'Z' , "no-analyze" , & analyze },
236
236
{ 'i' , 'j' , "jobs" , & jobs },
@@ -261,7 +261,7 @@ main(int argc, char *argv[])
261
261
errmsg ("cannot specify --index (-i) and --table (-t)" )));
262
262
else if (r_index && only_indexes )
263
263
ereport (ERROR , (errcode (EINVAL ),
264
- errmsg ("cannot specify --index (-i) and --only-index (-x)" )));
264
+ errmsg ("cannot specify --index (-i) and --only-indexes (-x)" )));
265
265
else if (only_indexes && !table_list .head )
266
266
ereport (ERROR , (errcode (EINVAL ),
267
267
errmsg ("cannot repack all indexes of database, specify the table with -t option" )));
@@ -1842,7 +1842,7 @@ pgut_help(bool details)
1842
1842
printf (" -n, --no-order do vacuum full instead of cluster\n" );
1843
1843
printf (" -j, --jobs=NUM Use this many parallel jobs for each table\n" );
1844
1844
printf (" -i, --index=INDEX move only the specified index\n" );
1845
- printf (" -x, --only-index move only indexes of the specified table\n" );
1845
+ printf (" -x, --only-indexes move only indexes of the specified table\n" );
1846
1846
printf (" -T, --wait-timeout=SECS timeout to cancel other backends on conflict\n" );
1847
1847
printf (" -Z, --no-analyze don't analyze at end\n" );
1848
1848
}
0 commit comments