summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-12 08:12:13 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-12 08:12:41 +0100
commit33993d45fe229b1798a94de85c3642a4b001c4de (patch)
treea87e9e00e5097631acbb986fe342b502457543a6 /docs
parent3d783011061e5243f2fa1e600b2338e87dde0b20 (diff)
downloadcurl-33993d45fe229b1798a94de85c3642a4b001c4de.tar.gz
gen.pl: fix perl syntax
Follow-up to 324cf1d2e
Diffstat (limited to 'docs')
-rwxr-xr-xdocs/cmdline-opts/gen.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/cmdline-opts/gen.pl b/docs/cmdline-opts/gen.pl
index 1cd4a050e..4bcedc36d 100755
--- a/docs/cmdline-opts/gen.pl
+++ b/docs/cmdline-opts/gen.pl
@@ -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";
}
- else if(length($desc) > 78) {
+ elsif(length($desc) > 78) {
print STDERR "WARN: the --$long description is too long\n";
}
print $line;