git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 50610ef)
Make --version option print fixed program name.
Tue, 7 Feb 2006 11:36:36 +0000 (11:36 +0000)
Tue, 7 Feb 2006 11:36:36 +0000 (11:36 +0000)

diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c
index 6a601ab83f3ced470d413eea22c28ea4d73af336..402db9fc34040684ae55eb5a281538ed6fccd7a6 100644 (file)
--- a/src/bin/pg_ctl/pg_ctl.c
+++ b/src/bin/pg_ctl/pg_ctl.c
@@ -4,7 +4,7 @@
*
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.64 2006年01月14日 15:41:28 petere Exp $
+ * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.65 2006年02月07日 11:36:36 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1313,7 +1313,7 @@ main(int argc, char **argv)
}
else if (strcmp(argv[1], "-V") == 0 || strcmp(argv[1], "--version") == 0)
{
- printf("%s (PostgreSQL) %s\n", progname, PG_VERSION);
+ puts("pg_ctl (PostgreSQL) " PG_VERSION);
exit(0);
}
}
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /