From 7cdd3da0ef7365ea47ed9862a1426b924e4c2dda Mon Sep 17 00:00:00 2001 From: Marcus Clyne Date: Fri, 20 Apr 2018 22:14:32 +0100 Subject: [PATCH] configure: help now displays hyphens for names lua-resty-[name] where name contains an underscore --- util/configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/configure b/util/configure index 374a2a7..f363e8e 100755 --- a/util/configure +++ b/util/configure @@ -1250,7 +1250,8 @@ _EOC_ $msg .= "\n" . (" " x $opt_max_len); } - $msg .= "disable the lua-resty-${name} library\n"; + (my $name2 = $name) =~ s/_/-/g; + $msg .= "disable the lua-resty-${name2} library\n"; } $msg .= <<'_EOC_';