aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/help2adoc.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/help2adoc.awk b/tools/help2adoc.awk
index b36753f..47dd76f 100644
--- a/tools/help2adoc.awk
+++ b/tools/help2adoc.awk
@@ -130,7 +130,7 @@ BEGIN {
if (Name !~ /[[:space:]]/)
ProgramName = Name
- else if (match(Target, /[^/]+$/))
+ else if (match(Target, /[^\/]+$/))
ProgramName = substr(Target, RSTART, RLENGTH)
printheader(ProgramName "(1)", "=")