Skip to content

Commit 28bfdc5

Browse files
committed
psql: Improve spelling
1 parent 0638a62 commit 28bfdc5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/bin/psql/command.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2305,7 +2305,7 @@ _align2string(enum printFormat in)
23052305
}
23062306

23072307
/*
2308-
* Parse entered unicode linestyle. If ok, update *linestyle and return
2308+
* Parse entered Unicode linestyle. If ok, update *linestyle and return
23092309
* true, else return false.
23102310
*/
23112311
static bool
@@ -2408,7 +2408,7 @@ do_pset(const char *param, const char *value, printQueryOpt *popt, bool quiet)
24082408
refresh_utf8format(&(popt->topt));
24092409
else
24102410
{
2411-
psql_error("\\pset: allowed unicode border linestyles are single, double\n");
2411+
psql_error("\\pset: allowed Unicode border line styles are single, double\n");
24122412
return false;
24132413
}
24142414
}
@@ -2423,7 +2423,7 @@ do_pset(const char *param, const char *value, printQueryOpt *popt, bool quiet)
24232423
refresh_utf8format(&(popt->topt));
24242424
else
24252425
{
2426-
psql_error("\\pset: allowed unicode column linestyles are single, double\n");
2426+
psql_error("\\pset: allowed Unicode column line styles are single, double\n");
24272427
return false;
24282428
}
24292429
}
@@ -2438,7 +2438,7 @@ do_pset(const char *param, const char *value, printQueryOpt *popt, bool quiet)
24382438
refresh_utf8format(&(popt->topt));
24392439
else
24402440
{
2441-
psql_error("\\pset: allowed unicode header linestyles are single, double\n");
2441+
psql_error("\\pset: allowed Unicode header line styles are single, double\n");
24422442
return false;
24432443
}
24442444
}
@@ -2748,22 +2748,22 @@ printPsetInfo(const char *param, struct printQueryOpt *popt)
27482748
printf(_("Tuples only is off.\n"));
27492749
}
27502750

2751-
/* unicode style formatting */
2751+
/* Unicode style formatting */
27522752
else if (strcmp(param, "unicode_border_linestyle") == 0)
27532753
{
2754-
printf(_("Unicode border linestyle is \"%s\".\n"),
2754+
printf(_("Unicode border line style is \"%s\".\n"),
27552755
_unicode_linestyle2string(popt->topt.unicode_border_linestyle));
27562756
}
27572757

27582758
else if (strcmp(param, "unicode_column_linestyle") == 0)
27592759
{
2760-
printf(_("Unicode column linestyle is \"%s\".\n"),
2760+
printf(_("Unicode column line style is \"%s\".\n"),
27612761
_unicode_linestyle2string(popt->topt.unicode_column_linestyle));
27622762
}
27632763

27642764
else if (strcmp(param, "unicode_header_linestyle") == 0)
27652765
{
2766-
printf(_("Unicode header linestyle is \"%s\".\n"),
2766+
printf(_("Unicode header line style is \"%s\".\n"),
27672767
_unicode_linestyle2string(popt->topt.unicode_header_linestyle));
27682768
}
27692769

0 commit comments

Comments
 (0)