From: Daniel Stenberg Date: Tue, 12 Jan 2021 07:12:13 +0000 (+0100) Subject: gen.pl: fix perl syntax X-Git-Tag: curl-7_75_0~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33993d45fe229b1798a94de85c3642a4b001c4de;p=thirdparty%2Fcurl.git gen.pl: fix perl syntax Follow-up to 324cf1d2e --- diff --git a/docs/cmdline-opts/gen.pl b/docs/cmdline-opts/gen.pl index 1cd4a050ec..4bcedc36d2 100755 --- a/docs/cmdline-opts/gen.pl +++ b/docs/cmdline-opts/gen.pl @@ -6,7 +6,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 1998 - 2020, Daniel Stenberg, , et al. +# Copyright (C) 1998 - 2021, Daniel Stenberg, , 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"; } - else if(length($desc) > 78) { + elsif(length($desc) > 78) { print STDERR "WARN: the --$long description is too long\n"; } print $line;