mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-24 22:09:57 +01:00
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:
parent
33aacc3d4b
commit
9e28617e26
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user