summaryrefslogtreecommitdiff
path: root/pinentry/argparse.c
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2022-04-18 19:01:14 +0200
committerTom Barrett <tom@tombarrett.xyz>2022-04-18 19:01:14 +0200
commitdc4e993b3d5223d758eeb72fac1424da492b58c2 (patch)
tree204f53b8dc83b42b27f976bfef4d7a23f085f628 /pinentry/argparse.c
parenta4f7d150c7395faf72fb167ac333170668124866 (diff)
parentb514b660285b66ee1a2d72c4838f647332e4a0cc (diff)
Merge branch 'master' of core-a:/mnt/repos/public/pinentry-dmenu
Diffstat (limited to 'pinentry/argparse.c')
-rw-r--r--pinentry/argparse.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/pinentry/argparse.c b/pinentry/argparse.c
index e31b67e..ee9c08b 100644
--- a/pinentry/argparse.c
+++ b/pinentry/argparse.c
@@ -26,7 +26,8 @@
*
* 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://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: (GPL-2.0+ OR LGPL-3.0+)
*/
/* This file may be used as part of GnuPG or standalone. A GnuPG
@@ -845,7 +846,7 @@ find_long_option( ARGPARSE_ARGS *arg,
/* Would be better if we can do a binary search, but it is not
possible to reorder our option table because we would mess
up our help strings - What we can do is: Build a nice option
- lookup table wehn this function is first invoked */
+ lookup table when this function is first invoked */
if( !*keyword )
return -1;
for(i=0; opts[i].short_opt; i++ )
@@ -1490,10 +1491,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://www.gnu.org/licenses/gpl.html>");
#else
p = ("License GPLv2+: GNU GPL version 2 or later "
- "<http://gnu.org/licenses/>");
+ "<https://www.gnu.org/licenses/>");
#endif
break;
case 11: p = "foo"; break;
@@ -1515,7 +1516,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://www.gnu.org/licenses/>.\n";
break;
case 40: /* short and long usage */
case 41: p = ""; break;