summaryrefslogtreecommitdiff
path: root/src/bin/psql/tab-complete.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2018-11-06 15:04:40 +0900
committerMichael Paquier <michael@paquier.xyz>2018-11-06 15:04:40 +0900
commitadd9182e59084faf57bb264fefcd39fbc93fb116 (patch)
tree2e25b2186ea57c94f178f650ad2bdb250baffda5 /src/bin/psql/tab-complete.c
parent8f045e242b2308473f5de532590454294e3d5683 (diff)
Reorganize format options of psql in alphabetical order
This makes the addition of new formats easier, and documentation lookups easier. Author: Daniel Vérité Reviewed-by: Fabien Coelho Discussion: https://postgr.es/m/alpine.DEB.2.20.1803081004241.2916@lancre
Diffstat (limited to 'src/bin/psql/tab-complete.c')
-rw-r--r--src/bin/psql/tab-complete.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c
index a980f92e11b..7294824948c 100644
--- a/src/bin/psql/tab-complete.c
+++ b/src/bin/psql/tab-complete.c
@@ -3539,9 +3539,9 @@ psql_completion(const char *text, int start, int end)
else if (TailMatchesCS("\\pset", MatchAny))
{
if (TailMatchesCS("format"))
- COMPLETE_WITH_CS("unaligned", "aligned", "wrapped", "html",
- "asciidoc", "latex", "latex-longtable",
- "troff-ms");
+ COMPLETE_WITH_CS("aligned", "asciidoc", "html", "latex",
+ "latex-longtable", "troff-ms", "unaligned",
+ "wrapped");
else if (TailMatchesCS("linestyle"))
COMPLETE_WITH_CS("ascii", "old-ascii", "unicode");
else if (TailMatchesCS("pager"))