[SCM] PostGIS branch master updated. 3.5.0-319-ga783dca52

git at osgeo.org git at osgeo.org
Wed May 14 23:44:02 PDT 2025


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  a783dca52b99ebe976216ed6f37d7992ec300528 (commit)
      from  c2d181ede78b74820cbd1f94d97241de5075a8e2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a783dca52b99ebe976216ed6f37d7992ec300528
Author: Sandro Santilli <strk at kbt.io>
Date:   Thu May 15 08:41:59 2025 +0200

    Do not print "illegal option" when -? is passed
    
    Thanks Giovanni Zezza for the report

diff --git a/loader/shp2pgsql-cli.c b/loader/shp2pgsql-cli.c
index 8703f74c4..3029ff104 100644
--- a/loader/shp2pgsql-cli.c
+++ b/loader/shp2pgsql-cli.c
@@ -105,7 +105,7 @@ main (int argc, char **argv)
 	set_loader_config_defaults(config);
 
 	/* Keep the flag list alphabetic so it's easy to see what's left. */
-	while ((c = pgis_getopt(argc, argv, "-acdeg:ikm:nps:t:wDGIN:ST:W:X:Z")) != EOF)
+	while ((c = pgis_getopt(argc, argv, "-?acdeg:ikm:nps:t:wDGIN:ST:W:X:Z")) != EOF)
 	{
 		// can not do this inside the switch case
 		if ('-' == c)

-----------------------------------------------------------------------

Summary of changes:
 loader/shp2pgsql-cli.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list