Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jDxi3-0008FT-1c for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Mar 2020 21:55:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jDxhz-0006tR-3I for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Mar 2020 21:55:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jDxhy-0006tK-R1 for pgsql-hackers@lists.postgresql.org; Mon, 16 Mar 2020 21:55:38 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jDxhv-0007ny-6V for pgsql-hackers@postgresql.org; Mon, 16 Mar 2020 21:55:38 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1jDxhm-00046v-Et; Mon, 16 Mar 2020 17:55:26 -0400 Date: Mon, 16 Mar 2020 17:55:26 -0400 From: Bruce Momjian To: Peter Eisentraut Cc: Daniel Gustafsson , Greg Stark , pgsql-hackers Subject: Re: Add PostgreSQL home page to --help output Message-ID: <20200316215526.GE22592@momjian.us> References: <8d389c5f-7fb5-8e48-9a4a-68cec44786fa@2ndquadrant.com> <1622cf7f-af95-9096-23cd-52e15ce16bb6@2ndquadrant.com> <04D6B17B-5EE8-4889-AD2A-68C0F62F2B05@yesql.se> <56411288-E89A-418F-A228-153EB5C0F050@yesql.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Fri, Feb 28, 2020 at 02:02:17PM +0100, Peter Eisentraut wrote: > On 2020-02-20 12:09, Daniel Gustafsson wrote: > > > On 20 Feb 2020, at 10:53, Daniel Gustafsson wrote: > > > > > > > On 20 Feb 2020, at 10:15, Peter Eisentraut wrote: > > > > > > > > On 2020-02-13 14:24, Greg Stark wrote: > > > > > Sounds like a fine idea. But personally I would prefer it without the <> around the it, just a url on a line by itself. I think it would be clearer, look cleaner, and be easier to select to copy/paste elsewhere. > > > > > > > > I'm on the fence about this one, but I like the delimiters because it would also work consistently if we put a URL into running text where it might be immediately adjacent to other characters. So I was actually going for easier to copy/paste here, but perhaps in other environments it's not easier? > > > > > > For URLs completely on their own, not using <> makes sense. Copy pasting > > > into the location bar of Safari makes it load the url, but Firefox and Chrome > > > turn it into a search engine query (no idea about Windows browsers). > > > > > > For URLs in running text it's not uncommon to have <> around the URL for the > > > very reason you mention. Looking at --help and manpages from random open > > > source tools there seems to be roughly a 50/50 split on using <> or not. > > > > RFC3986 discuss this in , with > > the content mostly carried over from RFC2396 appendix E. > > I think we weren't going to get any more insights here, so I have committed > it as is. Some new feedback. I find this output confusing since there is a colon before the <>: Report bugs to . PostgreSQL home page: Does this look better (no colon)? Report bugs to . PostgreSQL home page or this (colon, no <>)? Report bugs to . PostgreSQL home page: https://www.postgresql.org/ or maybe this? Report bugs: pgsql-bugs@lists.postgresql.org PostgreSQL home page: https://www.postgresql.org/ or this? Report bugs PostgreSQL home page I actually have never seen URLs in <>, only email addresses. I think using <> for URLs and emails is confusing because they usually have different actions, unless we want to add mailto: Report bugs PostgreSQL home page or Report bugs mailto:pgsql-bugs@lists.postgresql.org PostgreSQL home page https://www.postgresql.org/ I kind of prefer the last one since the can both be pasted directly into a browser. -- Bruce Momjian https://momjian.us EnterpriseDB https://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription +