From 3260c24fcce2db7d0b0eb98234c5ba385c6f55a9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Thu, 28 Mar 2024 19:43:33 +0100 Subject: [PATCH] bugfix in --notitles option --- macros/pagelist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros/pagelist b/macros/pagelist index 5026076..5a2a114 100755 --- a/macros/pagelist +++ b/macros/pagelist @@ -34,7 +34,7 @@ while [ $# -gt 0 ]; do case $1 in --title|--titles|-titles|-title) titles=true; shift 1;; --no-title|--no-titles|--notitle|--notitles|-no-title|-no-titles|-notitle|-notitles) - titles=false; shift 1;; + titles=''; shift 1;; \#*) tags="${tags}${tags:+ }${1###}"; shift 1;; \!*) ntags="${ntags}${ntags:+ }${1##!}"; shift 1;; --h1|--h2|--h3|--h4|--h5|--h6|--label) -- 2.39.2