From: Paul Hänsch Date: Thu, 28 Mar 2024 18:43:33 +0000 (+0100) Subject: bugfix in --notitles option X-Git-Url: https://git.plutz.net/?p=shellwiki;a=commitdiff_plain;h=3260c24fcce2db7d0b0eb98234c5ba385c6f55a9 bugfix in --notitles option --- 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)