summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts
diff options
context:
space:
mode:
authorDaniel Gustafsson <daniel@yesql.se>2018-11-26 09:56:49 +0100
committerDaniel Gustafsson <daniel@yesql.se>2018-11-26 09:56:49 +0100
commit8802ad965d4563df7179de5302313cb384c809bc (patch)
treee9500f1de67a8c4d2903a4e2414f55e35bbb229d /docs/cmdline-opts
parent27a5e1f1119b0e205544f15e1fe1662e5a15aef9 (diff)
downloadcurl-8802ad965d4563df7179de5302313cb384c809bc.tar.gz
cmdline-opts/gen.pl: define the correct varname
The variable definition had a small typo making it declare another variable then the intended. Closes #3304 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
Diffstat (limited to 'docs/cmdline-opts')
-rwxr-xr-xdocs/cmdline-opts/gen.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cmdline-opts/gen.pl b/docs/cmdline-opts/gen.pl
index 439b76585..a921298a6 100755
--- a/docs/cmdline-opts/gen.pl
+++ b/docs/cmdline-opts/gen.pl
@@ -158,7 +158,7 @@ sub single {
print STDERR "WARN: unrecognized line in $f, ignoring:\n:'$_';"
}
}
- my @dest;
+ my @desc;
while(<F>) {
push @desc, $_;
}