]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
gen.pl: fix perl syntax
authorDaniel Stenberg <daniel@haxx.se>
Tue, 12 Jan 2021 07:12:13 +0000 (08:12 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 12 Jan 2021 07:12:41 +0000 (08:12 +0100)
Follow-up to 324cf1d2e

docs/cmdline-opts/gen.pl

index 1cd4a050ec5b11a688a3f8d1b5e7512167642526..4bcedc36d275b26153fcbf66ea34c174745dee43 100755 (executable)
@@ -6,7 +6,7 @@
 #                            | (__| |_| |  _ <| |___
 #                             \___|\___/|_| \_\_____|
 #
-# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
 #
 # This software is licensed as described in the file COPYING, which
 # you should have received as part of this distribution. The terms
@@ -372,7 +372,7 @@ sub listhelp {
         if(length($opt) > 78) {
             print STDERR "WARN: the --$long name is too long\n";
         }
-        elsif(length($desc) > 78) {
+        elsif(length($desc) > 78) {
             print STDERR "WARN: the --$long description is too long\n";
         }
         print $line;