]> granicus.if.org Git - postgresql/commitdiff
pg_ctl: Sort signal list in --help output
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 21 May 2012 17:12:30 +0000 (20:12 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 21 May 2012 17:12:30 +0000 (20:12 +0300)
The list was neither logical nor numerical nor alphabetical.  Let's go
with alphabetical.

src/bin/pg_ctl/pg_ctl.c

index 26dd30cbb5d7976b32e45d1bf0d6e57a017137e5..329cc24dd6e67e4de895d29e53c71b8b82034f9f 100644 (file)
@@ -1791,7 +1791,7 @@ do_help(void)
        printf(_("  immediate   quit without complete shutdown; will lead to recovery on restart\n"));
 
        printf(_("\nAllowed signal names for kill:\n"));
-       printf("  HUP INT QUIT ABRT TERM USR1 USR2\n");
+       printf("  ABRT HUP INT QUIT TERM USR1 USR2\n");
 
 #if defined(WIN32) || defined(__CYGWIN__)
        printf(_("\nOptions for register and unregister:\n"));