summaryrefslogtreecommitdiff
path: root/src/bin/scripts/common.c
diff options
context:
space:
mode:
authorBruce Momjian2006-10-04 00:30:14 +0000
committerBruce Momjian2006-10-04 00:30:14 +0000
commita5da8289eeeab7b44e47fcea00b0bee71d1e8be8 (patch)
treed966a2971feb19dd8f95d279f475765a610b89b1 /src/bin/scripts/common.c
parent7f96221cf08e4a8b0cc564244159bf7d7c890c39 (diff)
pgindent run for 8.2.
Diffstat (limited to 'src/bin/scripts/common.c')
-rw-r--r--src/bin/scripts/common.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/bin/scripts/common.c b/src/bin/scripts/common.c
index ef5774aee0..44e64d95a0 100644
--- a/src/bin/scripts/common.c
+++ b/src/bin/scripts/common.c
@@ -206,15 +206,18 @@ executeCommand(PGconn *conn, const char *query,
bool
yesno_prompt(const char *question)
{
- char prompt[256];
+ char prompt[256];
- /* translator: This is a question followed by the translated options for "yes" and "no". */
+ /*
+ * translator: This is a question followed by the translated options for
+ * "yes" and "no".
+ */
snprintf(prompt, sizeof(prompt), _("%s (%s/%s) "),
_(question), _(PG_YESLETTER), _(PG_NOLETTER));
for (;;)
{
- char *resp;
+ char *resp;
resp = simple_prompt(prompt, 1, true);