pg_walsummary: Document --version option
authorPeter Eisentraut
Wed, 24 Apr 2024 06:56:21 +0000 (08:56 +0200)
committerPeter Eisentraut
Wed, 24 Apr 2024 06:56:21 +0000 (08:56 +0200)
It was working, but it was not shown in the --help output or on the
man page.

doc/src/sgml/ref/pg_walsummary.sgml
src/bin/pg_walsummary/pg_walsummary.c

index 96835d2f605cfe52a6ad81ad25b1d4a2bcc6e8d2..57b2d24650cf12b3c76c26d0d2505a9d7329eb0d 100644 (file)
@@ -83,6 +83,16 @@ PostgreSQL documentation
       
      
 
+     
+      
+      
+      
+       
+        Display version information, then exit.
+       
+      
+     
+
      
        
        
index daf6cd14ce73f35164888fe81ce7ca5e41e37283..ffe183f0eeeb53117a53e81cc0fc1980950fdf5b 100644 (file)
@@ -270,6 +270,7 @@ help(const char *progname)
    printf(_("\nOptions:\n"));
    printf(_("  -i, --individual          list block numbers individually, not as ranges\n"));
    printf(_("  -q, --quiet               don't print anything, just parse the files\n"));
+   printf(_("  -V, --version             output version information, then exit\n"));
    printf(_("  -?, --help                show this help, then exit\n"));
 
    printf(_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);