comparison sbin/ftjail @ 386:84d2735fe7f6

Simplified version tagging a lot: it is also faster now. While being there: adjusting copyright year to end in 2023 now.
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 23 Feb 2023 01:08:31 +0100
parents 6be930eb7490
children 155c5f6eebc7
comparison
equal deleted inserted replaced
385:d058f55fffea 386:84d2735fe7f6
8 #: All rights reserved. 8 #: All rights reserved.
9 #: :License: BSD 3-Clause "New" or "Revised" License. 9 #: :License: BSD 3-Clause "New" or "Revised" License.
10 #: See LICENSE for details. 10 #: See LICENSE for details.
11 #: If you cannot find LICENSE see 11 #: If you cannot find LICENSE see
12 #: <https://opensource.org/licenses/BSD-3-Clause> 12 #: <https://opensource.org/licenses/BSD-3-Clause>
13 #: :ID: @(#)@@PKGORIGIN@@ $HGid$ 13 #: :ID: @(#)@@SIMPLEVERSIONTAG@@
14 #: 14 #:
15 15
16 set -eu 16 set -eu
17 17
18 VERSION="@@VERSION@@" 18 VERSION="@@VERSION@@"
1163 # Global option handling 1163 # Global option handling
1164 # 1164 #
1165 while getopts "Vh" _opt ; do 1165 while getopts "Vh" _opt ; do
1166 case ${_opt} in 1166 case ${_opt} in
1167 V) 1167 V)
1168 printf 'ftjail v%s (rv:%s)\n' "${VERSION}" '@@HGREVISION@@' 1168 printf 'ftjail %s\n' '@@SIMPLEVERSIONSTR@@'
1169 exit 0 1169 exit 0
1170 ;; 1170 ;;
1171 h) 1171 h)
1172 echo "${USAGE}" 1172 echo "${USAGE}"
1173 exit 0 1173 exit 0