common: Print https URLs in help messages.

* common/argparse.c (strusage): Print https URLS.

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2016-05-03 15:55:08 +02:00
parent 33aacc3d4b
commit 9e28617e26
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
1 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@
*
* You should have received a copies of the GNU General Public License
* and the GNU Lesser General Public License along with this program;
* if not, see <http://www.gnu.org/licenses/>.
* if not, see <https://gnu.org/licenses/>.
*/
/* This file may be used as part of GnuPG or standalone. A GnuPG
@ -1492,10 +1492,10 @@ strusage( int level )
case 10:
#if ARGPARSE_GPL_VERSION == 3
p = ("License GPLv3+: GNU GPL version 3 or later "
"<http://gnu.org/licenses/gpl.html>");
"<https://gnu.org/licenses/gpl.html>");
#else
p = ("License GPLv2+: GNU GPL version 2 or later "
"<http://gnu.org/licenses/>");
"<https://gnu.org/licenses/>");
#endif
break;
case 11: p = "foo"; break;
@ -1517,7 +1517,7 @@ ARGPARSE_STR2(ARGPARSE_GPL_VERSION)
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
"GNU General Public License for more details.\n\n"
"You should have received a copy of the GNU General Public License\n"
"along with this software. If not, see <http://www.gnu.org/licenses/>.\n";
"along with this software. If not, see <https://gnu.org/licenses/>.\n";
break;
case 40: /* short and long usage */
case 41: p = ""; break;